C program to draw circles in circles
C program to draw circles in circles
C program to draw circles in circles
#include<graphics.h> #include<conio.h> #include<dos.h>
main() { int gd = DETECT, gm, x, y, color, angle = 0; struct arccoordstype a, b;
initgraph(&gd, &gm, “C:\\TC\\BGI”); delay(2000);
while(angle<=360) { setcolor(BLACK); arc(getmaxx()/2,getmaxy()/2,angle,angle+2,100); setcolor(RED); getarccoords(&a); circle(a.xstart,a.ystart,25); setcolor(BLACK); arc(getmaxx()…
View On WordPress












