You can't and even if you could, why would you want to? All you want to do is add 1 to a counter variable
Type: Posts; User: curmudgeon
You can't and even if you could, why would you want to? All you want to do is add 1 to a counter variable
Yep exactly, what's on line 26 of program05.java?
this:
int yesVotes = Integer.parseInt (reply);
What's the error telling you?
this:
The exception message should tell you exactly what the problem is. Please post it in its entirety.
Hint: think about exactly what you're trying to parse into an int.
Also, please have a look at...