Can you post the command prompt contents that shows what happened?

Add some comments describing what is wrong with the output.

How are you trying to debug the program? Add some print...