#include<graphics.h>
void main()
{
int gd=DETECT,gm,x=320,y=240;
initgraph(&gd,&gm,"");

a:
while(y<450)
{
//rectangle(30,2,620,460);
circle(x,y,10); cleardevice();
y++;
 x++;    // if(y>=449) break;
 }
 while(x<610)
{
//rectangle(30,2,620,460);
circle(x,y,10); cleardevice();
y--;
 x++;     //if(x>609) break;
 }
 while(y>10)
{
//rectangle(30,2,620,460);
circle(x,y,10); cleardevice();
y--;
 x--;    // if(y<11) break;
 }
 while(x>30)
{
//rectangle(30,2,620,460);
circle(x,y,10); cleardevice();
y++;
 x--;     if(y>=455) break;
 }


     goto a;
}
