If practice 2
Submit solution
C, C++, Python3
Points:
1
Time limit:
1.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
This practice problem will require you to programme basic if
conditions and
else
.
Your programme will be expecting inputs made up of 2 different numbers, and your task is to output the numbers in ascending order.
Input Specification
The first line will contain two space-separated integers whose absolute value is less than \(1\,000\,000\,000\).
Output Specification
Output 2 integers, the first one should be the smaller and the second the greater.
Sample Input 1
78 24
Sample Output 1
24 78
Sample Input 2
-12 13
Sample Output 2
-12 13
Comments