This code about moving car. But there are errors fix them | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

This code about moving car. But there are errors fix them

#include<graphics.h> #include<conio.h> #include<dos.h> void main() { int gdriver=DETECT,gmode,i=0,j=0; initgraph(&gdriver,&gmode,”c:\turboc3\bgi”); for(i;i<420;++i) { line(0,245,650,245); line(0+i,200,210+i,200); line(50+i,200,70+i,170); line(70+i,170,140+i,170); line(140+i,170,160+i,200); line(85+i,170,85+i,200); line(125+i,170,125+i,200); line(0+i,200,0+i,230); line(210+i,200,210+i,230); line(0+i,230,50+i,230); circle(65+i,230,15); line(80+i,230,130+i,230); circle(145+i,230,15); line

29th Jul 2017, 11:19 AM
maligireddy jalendarreddy
maligireddy jalendarreddy - avatar
2 Answers
+ 8
This code is like 1% valid.
29th Jul 2017, 11:42 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
O.o I don't have access to old enough technology to help.
29th Jul 2017, 11:34 AM
jay
jay - avatar