Hello:

I already finished my program, but i cannot print out the result on the screen, and i think there have a few logical problems.

Here is the instruction: