how to make a program for car in c language ??
Answers
Answered by
4
Answer:
Explanation:
C program
- main() { int i, j = 0, gd = DETECT, gm;
- settextstyle(DEFAULT_FONT,HORIZ_DIR,2); outtextxy(25,240,"Press any key to view the moving car");
- getch(); setviewport(0,0,639,440,1);
- for (i = 0; i <= 420; i = i + 10, j++) { rectangle(50+i,275,150+i,400); rectangle(150+i,350,200+i,400); ...
- getch(); closegraph(); return 0; }
Answered by
1
Answer:
Here's Your Answer
Explanation:
◆C program
main() { int i, j = 0, gd = DETECT, gm;
- settextstyle(DEFAULT_FONT,HORIZ_DIR,2); outtextxy(25,240,"Press any key to view the moving car");
- getch(); setviewport(0,0,639,440,1);
- for (i = 0; i <= 420; i = i + 10, j++) { rectangle(50+i,275,150+i,400); rectangle(150+i,350,200+i,400); ...
- getch(); closegraph(); return 0; }
Hope it's help you..
Similar questions
English,
1 month ago
Hindi,
1 month ago
Social Sciences,
2 months ago
Math,
9 months ago
Biology,
9 months ago