Write a Program to draw circle in C

/*Circle*/
#include<stdio.h>
#include<conio.h>
#include<graphics.h>

int main()
{
   int gm,gd=DETECT;

   initgraph(&gd,&gm,"C:\\turboc3\\bgi");

   outtextxy(300,170,"Circle");
   circle(320,240,50);

   getch();
   closegraph();
   return 0;
}

Previous
Next Post »