0
How to do it?
How can I make the program that when I write the word "again" the whole game will start over again (restart)? https://code.sololearn.com/cGStIEUdc4HK/?ref=app
3 odpowiedzi
0
String again;
while(true){
//**your game**
again = scanner.nextLine();
if(again != „again“) return;
}
0
its not working...
0
Well you should have added some comments to make it w
Easier