0
Can anyone help me out with my c program , I'm facing a huge problem in running my program.
newbie here https://code.sololearn.com/c1Cfn4VEQrb2/?ref=app
5 Antworten
+ 6
int no_adult,no_children,others,code_traintype,no_adult,no_children,others,code_traintype,year,month,date;
In this line, you declared twice 4 variables
+ 5
With this change it work (not in sololearn because scanf, gets, getchar, ... are not recognized as input but it stills work)
+ 4
You did not share it :/
0
sorry , I shared , here you go
0
the train system can only run until the user key in the arrival , after that , everything just crash