Circle using Programmign C

#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>

void main ()
{
 int gd=DETECT, gm=DETECT, i, x=100, y=150;
 initgraph(&gd, &gm, "..\\bgi");
 setcolor(RED);

 while(1)
 {
x=100;
y=150;

 for(i=0; i<250; i+=5)
 {
 circle(x+i, y+i, 10);
 delay(100);
 setcolor(BLACK);
 circle(x+i, y+i, 10);
 setcolor(RED);
 }
 x=350;
 y=400;
 for(i=0; i<250; i+=5)
 {
 circle(x+i, y-i, 10);
 delay(100);
 setcolor(BLACK);
 circle(x+i, y-i, 10);
 setcolor(RED);
 }

 x=600;
 y=150;
 for(i=0; i<500; i+=5)
 {
 circle(x-i, y, 10);
 delay(100);
 setcolor(BLACK);
 circle(x-i, y, 10);
 setcolor(RED);
 }

  }

getch();
}

Loading
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Flying Twitter Bird Widget By ICT Sparkle