Please check this code and correct it, I'm getting an error! | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Please check this code and correct it, I'm getting an error!

Here's the link. The Scanner works but not the loop. https://code.sololearn.com/754/#java

25th Apr 2019, 5:59 AM
Sarah Dayal
Sarah Dayal - avatar
1 Respuesta
+ 1
Code Playground has issues with taking user input in loops, so that could be it. Btw, it doesn't seem that you saved your code? The code you linked in your thread just shows me a code which demonstrates a function sayHello().
25th Apr 2019, 6:45 AM
Fermi
Fermi - avatar