Please check this code and correct it, I'm getting an error! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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