- 2

S.O.S

Follow me, the program of “Mi Chula” has an error. HELP!!

1st Feb 2018, 2:49 AM
J. G.M.
3 odpowiedzi
+ 10
remove the semicolon after each if(x**);👈 and remove one of the curly parentheses before return 0.
1st Feb 2018, 3:44 AM
Mazin Ayash
Mazin Ayash - avatar
+ 9
this is the code after correction https://code.sololearn.com/cqoloeLBq7xA/?ref=app
1st Feb 2018, 3:54 AM
Mazin Ayash
Mazin Ayash - avatar
+ 8
Put this as a c code as this isn't c++ Also, You are using assignment operator = instead of comparison operator == in various statements. Also, please use white-space (tabs). It makes the code easier to read and manage. int scanf(x) is also a problem as well as int("x") Here is a link to the code in question, incase anyone else wants to take a look https://code.sololearn.com/cOY3ew0n15E9/?ref=app
1st Feb 2018, 3:48 AM
jay
jay - avatar