Code Examples
Task
Write a program that receives three numerals, one number per line, and outputs to the console in three lines first the maximum, then the minimum, then the remaining number.
My solution made with Python:
```
a = int(input())
b = int(input())
c = int(input())
if b <= a >= c:
print (a)
if a >= c and c > b:
print (b)
print (c)
else:
print (c)
print (b)
elif a <= b >= c:
print (b)
if b >= a and a > c:
print (c)
print (a)
else:
print (a)
print (c)
elif a <= c >= b:
print (c)
if c >= a and b > a:
print (a)
print (b)
else:
print (b)
print (a)