Did you miss this where I recommended adding an id String to the print out so its output can be identified?
Also print out the value being compared against:
System.out.println("id1 " +...
Type: Posts; User: Norm
Did you miss this where I recommended adding an id String to the print out so its output can be identified?
Also print out the value being compared against:
System.out.println("id1 " +...
I assume that the Strings hond shown in the post was from a print statement you added. Was one of them entered and one printed by the program?
Where is the "id1" String I recommended so you can...
Did you try doing some debugging by adding print statements that print out the values in theAnswer?
Make sure each print statement has a unique id so you know which statement printed the output:
...
Have you tried printing out the contents of the variables that have the values being tested so you can see what the computer sees when it executes the code?
Please copy the contents of the command...