Ok, I see that the problem is that my variable number is not being created the way I intended.
I put a system.out.print in the intParse() method in the if statement and else statement. Depending...
Type: Posts; User: TCDave
Ok, I see that the problem is that my variable number is not being created the way I intended.
I put a system.out.print in the intParse() method in the if statement and else statement. Depending...
Exception in thread "main" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)...
I am having trouble taking a String type of data, extracting information from it, and then putting that information into an array. I have to extract the integers from the string while ignoring all...
Sorry about that. Here is the full error message:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 61
at Program08.main(Program08.java:19)
Thanks for the advise. It took...
I have a method that is called that returns the value of 2 dice rolls, one for the computer and one for the player.
I have an array that has all the possible values of dice rolls.
I want to...
Oh, the 35 is nothing significant. I was planning to replace that with a boolean to end the program when no more question marks were printed.
I am reading an entire line with Scanner's...
This program is supposed to work like hangman. My code is inputting extra '?' even after a user makes a correct guess. How do I correct this? I want to use the for loops that already exist and I...