Can you post what the program currently prints out when it executes
and also post what the output should look like?
Type: Posts; User: Norm
Can you post what the program currently prints out when it executes
and also post what the output should look like?
What is wrong with the 5 lines of the program's output that you posted?
What is the output supposed to look like? Where is the error in the program's output?
Do you have code with a main() method for testing the posted code?
Also please post the program's output with some comments saying what is wrong with it and show what you want it to be.