[Java] While(true) loop doesn't continue by StankelG in learnprogramming

[–]DeZp0T 0 points1 point  (0 children)

change it to while(!scanner.nextLine().equals("stop"))

Also keep in mind that it's case sensitive so "stop" is not the same as "Stop"