line 36: delete the endl from that line because it doesn't go with cin. But because i is an int you will probably have to flush the '\n' from the keybord buffer, so add cin.ignore() after line 36 and before line 37.
line 37: delete this because there is no need to increment the value of i.
line 39: should be while( i != -99) because that's what your instructions say.
What you are missing in the loop is a counter that keeps track of the minimum value entered.
>>If A is chosen, you should ask the user how many numbers he wants to enter
You have not done that yet. And you need to use another int variable to keep track of the largest number entered.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,950 posts
since Aug 2005