Write a program that reads three integers and displays them sorted from smallest to largest.
For this exercise, you must only use if and else conditional structures. Using arrays or predefined sorting functions (like sort) is not allowed.
Three integers separated by spaces.
The three numbers sorted from smallest to largest, separated by a single space.
Input:
5 2 8
Output:
2 5 8