Program to draw a circle



















Program to draw a circle


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

void main()
{
int d,m;

d=DETECT;
initgraph(&d,&m,"c:\\tc\\bgi");

circle(200,200,30);
circle(200,300,50);
getch();
closegraph();

}

Output :

0 comments:

Post a Comment