Median of Three Numbers
Find the median value among three numbers.
Examples
- 1, 5, 3 ⇒ 3
- 10, 20, 15 ⇒ 15
FAQ
What is a median?
It's the middle value when numbers are ordered.
Does order matter?
No, the formula works regardless of input order.
Can numbers repeat?
Yes, duplicates are allowed and may be the median.
Why not sort?
This formula avoids sorting by using sums and extremes.
Additional Information
No additional information available.