the only reason I see to add the last else if is if you addd a test on whether it was a negative number or not. are you sure you saved/recompiled your code before trying to run it?
Yes, I have recompiled the code before running it... i guess the professor's program is messed up... :D
I am going to leave this thread open and close tomorrow morning (if there is a response from the teacher claiming he messed up)
But thanks!