You have a number of errors, but not the error you are describing. I'm not going to spoon feed you the solution, but am willing to help you get there.

1. If the first number entered is a negative...