CIRCLE IN CIRCLE


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

void main()
{
 int gd=DETECT,gm;
 initgraph(&gd,&gm,"c\\tc\bin");

 setcolor(1);
 circle(320,120,10);
 setcolor(2);
 circle(320,120,20);
 setcolor(3);
 circle(320,120,30);
 getch();
 }

Comments