See the code in post#5
Type: Posts; User: Norm
See the code in post#5
One hole in the code is the missing else statement at the end of the if/else if chain. There should be code there to catch missed conditions.
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Can you post a sample of what the output should look like for the data that current program has?
Try debugging the code by adding some println() statements that print out the values of variables...
Please explain.
What should the program's output look like?
The output that was posted is hard to read because it appears that the lines are run together. Can you separate the lines to make...