Circle
C program to draw circle on Screen-
#include<stdio.h>
#include<graphics.h>
#include<conio.h>
void main()
{
int gd=DETECT, gm;
clrscr();
initgraph(&gd,&gm,"c:\\turboc3\\bgi");
circle(50,60,30); //circle(int x,int y,radius);
getch();
}
#include<stdio.h>
#include<graphics.h>
#include<conio.h>
void main()
{
int gd=DETECT, gm;
clrscr();
initgraph(&gd,&gm,"c:\\turboc3\\bgi");
circle(50,60,30); //circle(int x,int y,radius);
getch();
}
Comments
Post a Comment