Why does it bring compilation error | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why does it bring compilation error

errors https://code.sololearn.com/cOzwQrIRx03I/?ref=app

28th Jun 2018, 4:27 PM
Naser Miiya
Naser Miiya - avatar
4 Antworten
+ 5
It worked for me as is. Did you enter an 8 character string to run it? I used: testing! You do get a runtime error for anything less than 8.
28th Jun 2018, 5:09 PM
John Wells
John Wells - avatar
+ 4
I've tried 5 different 8 character strings, got all 4 directions displayed, and no problems.
28th Jun 2018, 5:25 PM
John Wells
John Wells - avatar
+ 3
It runs differently, but error free with: emter in a string L t s g ! t e n i
28th Jun 2018, 5:20 PM
John Wells
John Wells - avatar
0
i have changed it but still compilation error https://code.sololearn.com/cOzwQrIRx03I/?ref=app
28th Jun 2018, 5:17 PM
Naser Miiya
Naser Miiya - avatar