Given is an array of three numeric values and I\'d like to know the middle value of the three.
The question is, what is the fastest way of finding the midd
And one more idea. There are three numbers {a,b,c}. Then:
{a,b,c}
middle = (a + b + c) - min(a,b,c) - max(a,b,c);
Of course, we have to remember about numeric limits...