Drawing concentric circles-c program
by Mohan[ Edit ] 2012-09-20 22:03:04
Drawing concentric circles
#include <graphics.h>
int main()
{
int gd = DETECT, gm;
int x = 320, y = 240, radius;
initgraph(&gd, &gm, "C:\\TC\\BGI");
for ( radius = 25; radius <= 125 ; radius = radius + 20)
circle(x, y, radius);
getch();
closegraph();
return 0;
}