Thread
:
Finding Median of X Integers
View Single Post
#
1
(
permalink
)
05-31-2007, 06:08 PM
Hasan
Member
Join Date: May 2007
Posts: 11
Finding Median of X Integers
I need to find the median of 5 integers for a program. Currently i am sorting the numbers using Math.min and Math.max. If someone has a slightly more elegant way please post here.
Sponsored Links
Hasan
View Public Profile
Send a private message to Hasan
Find all posts by Hasan