Problem
Provide algorithm and c++ coding of that algorithm that prompts the user to input 3 integer values and print these values in ascending and descending order.
Example
Please enter the first number: 45
Please enter the second number: 12
Please enter the third number: 78
Ascending order:
12
45
78
Descending order:
78
45
12