Saving the greatest/ least value...

Okay,

I have to create a menu ( which I did) and have 3 options. (done) In option A I have to allow the user to enter how many numbers he wants to input (a limit). Then after that limit of numbers is input, the user is told which number was the largest. This is the part that I'm having trouble with. All it prints for the value is what the last number that was entered was.

I'm getting the same error in section B. All it wants to display for the lowest number entered is -99... I think I have an idea for that one, but section A still gives me problems.

I have to use loops.. do..while, for, while, if / else. Any pointers as to what I'm missing here?

I don't think so. You would overwrite the previous value Try the non-array fixes I suggested and see if that helps. If not, ask your teacher if you may use arrays. Hey, they might even be impressed that you are ahead (assuming you use them correctly).