Lowest and Highest value

Hi guys, in the program that I have, the user has entered 4 different numbers. I am looking for something that will give me what the highest and lowest value is. I don't need it displayed to the user, I just need something that will calculate what the values are, given the numbers that the user entered.


What have you tried so far?
You can store the input into an array, and sort the array.
Topic archived. No new replies allowed.