Write a program named ThreeSort that uses Math.random to generate three random numbers. Output the three numbers from smallest to largest using only Math.min and Math.max to sort the numbers.
This problem is a little tricky. It might help you to find a solution if you consider the following similar problem: Given the numbers 1, 2, and 3 in random order, sort the numbers using only Math.min and Math.max (ignore the fact that you could just write down 1, 2, 3). Think about how you would test your solution before you try to solve the problem; this might actually help you formulate a solution!
You do not need to submit a solution.