Well the program is definitely assigning *some* value to playAgain. You can add some code to see what value is being assigned to that variable.
System.out.println("Play again? (y/n)");...
Type: Posts; User: pbrockway2
Well the program is definitely assigning *some* value to playAgain. You can add some code to see what value is being assigned to that variable.
System.out.println("Play again? (y/n)");...
Hi tonynsx, welcome to the forums!
I have added code tags to your post. You put
at the start of a section of code, and at the end. That way the code will be formatted properly by the forum...