1. Write a program that sorts five integers. The integers are entered from the console and stored in the variables num1, num2, num3, num4 and num5, respectively. The program sorts the numbers in descending order, so that the biggest is first and the smallest number is the last. Print the numbers to the console in sorted order. I need some hint for it .
Well of course one would need to make certain that numbers are entered. It would also be desirable to make certain that numbers are indeed entered. Check out this: http://www.cplusplus.com/forum/beginner/2957/
Furthermore, one could store the numbers into an array and use them in some sort of loop. Happy coding.