Dropping smallest numbers from list
I have an app that passes me a series of numbers (nine actually) that I need to total and average. The only problem is that I need to drop the two lowest numbers before doing the math.
So for example, let's say I get these numbers:
5
4
5
2
4
1
2
4
5
I need to drop the 1 and one of the 2s, then total them and get the average number.
I was thinking about converting them to an array, but I still can't figure out how to drop the lowest two.
Any ideas?
