+ 1

Todays Exercise for basic programming was: in a set of n numbers given by the user show the 3 highest numbers of the serie.

[C++]loop finishes when the number given by the user is a negative number. And if the user inputs less than three numbers show them all.(all that were positives or 0s). Note: don't repeat the numbers. For example: if the user inputted 3 times 1000 And thats the greatest just show it One time. We use C++ but if you know how to do this on another language (or the proccess of thinking) is awesome. Thanks and sorry for my bad english

1st Mar 2018, 3:55 PM
Kevin Nieto
Kevin Nieto - avatar
1 Answer
0
Thanks for sharing this awesome story ;)
13th Apr 2018, 4:31 PM
Loeschzwerg