Program to Draw circles in circle

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>


void main()
{
  clrscr();
  int gm=DETECT,gd,i;


   initgraph(&gm,&gd,"");


  for(i=50;i<=250;i=i+10)
  {
     delay(1000);
  circle(300,230,i);
  }

  getch();
}

Leave a Reply