Did you check the while statements? Are the conditions correct?
Did you change the code to print out the invalid data?
Please copy the full contents of the command prompt window for when you...
Type: Posts; User: Norm
Did you check the while statements? Are the conditions correct?
Did you change the code to print out the invalid data?
Please copy the full contents of the command prompt window for when you...
Check the code in the while statement to be sure the condition is correct to keep the loop from going forever.
When you print out a message that says the input is invalid, be sure to include the...
Are you confusing compiling and running the program?
The javac command compiles the source file and creates a .class file
The java command executes the .class file.
Can you try executing the...