Adapted by Neilor Tonin, URI Brazil
Read three integers and sort them in ascending order. After, print these values in ascending order, a blank line and then the values in the sequence as they were readed.
The input contains three integer numbers.
Present the output as requested above.
Input Sample | Output Sample |
7 21 -14 |
-14 |
-14 21 7 |
-14 |