Is there a statement terminating ; for the while?
The code following the while that is inside the {}s is not part of the while statement.
Type: Posts; User: Norm
Is there a statement terminating ; for the while?
The code following the while that is inside the {}s is not part of the while statement.
Look at the while loop and see if it is coded correctly. Add a println first thing inside the while loop that prints out the value of i to check that it is incrementing correctly. The poorly...
Add a println() statement after where the String is read that prints out the String so you can see what the computer sees when it executes.
The code needs to be formatted by indenting the nested...