0

I need help with this

https://code.sololearn.com/cZfqJ88yp1MW I keep getting an error say there is no if for my else if statements but there is an if to start.

29th Dec 2016, 1:29 PM
Michael Haire
Michael Haire - avatar
3 Answers
+ 7
Remove semicolons (;) after "if" statements, remove parenthesis from last else and put planet names inside quotes (" ") in statements, put a Capital "F" in the end of RP,MP initialization to convert double to float.
29th Dec 2016, 1:32 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
Follow these steps, it won't work but most of it will be fixed...
29th Dec 2016, 1:55 PM
Valen.H. ~
Valen.H. ~ - avatar
0
That now give me a compilation error
29th Dec 2016, 1:34 PM
Michael Haire
Michael Haire - avatar