My Profile

Ahmednagar, Maharashtra, India
I, Das ShrikKrishna J. MCA III IMSCD&R, Ahmednagar.

Thursday, 28 July 2011

Program to draw circle

/* Program to draw circle */
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
int x,y,r;
initgraph(&gd,&gm,"c:\\turboc3\\");
x=getmaxx()/2;
y=getmaxy()/2;
r=100;
circle(x,y,r);
putpixel(x,y,14);
getch();
closegraph();
}

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cheap international calls