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

int main()
{
initwindow(800,600,"car");    

outtextxy(10,10,"car");

int i=0;
setcolor(RED);

if(i < 800)
{
 for(int j=100; j < 700; j++)
 {    
  rectangle(100+j,100,300+j,300);
  rectangle(300+j,200,400+j,300);

  circle(150+j,321,20);
  circle(350+j,321,20);
  delay(100);
  cleardevice();
  }
}
else
{
i=10;    
}
getch();
return 0;
}

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA