No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am having a problem with my program and I need some help. Anything would be greatly appreciated. I am running a guessing game. [COLOR="Red"]Syntax error, insert "while ( Expression ) ;" to complete DoStatement Syntax error, insert "}" to complete MethodBody[/COLOR] [COLOR="Green"]Here is my code:[/COLOR] import java.util.Scanner; import java.util.Random; … |
|
Got that one now for another problem. At the end I want them to either enter an "y" or an "n". Depending on if they want to run the program again. I need help doing that. Exception in thread "main" java.lang.Error: Unresolved compilation problems: The local variable y may not … |