+ 3
This anyone knows why this code works in the real java and not on sololearn ?
it says compilation error on sololearn https://code.sololearn.com/cHzi7JU3M4hG/?ref=app
8 Answers
+ 6
Confirmed, once I removed all the invisible characters the code compiles and runs fine on the SL playground.
+ 4
The problem isn't from the inputs, in fact I only see 1 input that is needed, but rather that you most likely copied and pasted the the code from your editor which included a bunch of invisible characters that are causing the compilation error. Try typing it in and it looks like it should work.
+ 4
Yes, when viewed from the website.
+ 4
works now!!
+ 3
thanks!I promise I did not plagerize this code!I programed it on my computer than copied and paste on solo learn
+ 2
help!
+ 2
thanks!!
+ 2
is the invisible character a dot highlighted red