i have to calculate the MEDIAN of an unsorted array(i.e,array must be in sorted order before calculation of median).I am a beginner in java.kindly help me with some kinda code,and learn me how to calculate the median in this case?
NOTE PLZ...em not asking for FULL help,actually i already had taken an input of 25 arrays and then found it's median successfully,now em facing problem in the actual LOGIC behind finding the median,at that time,when my 25 integers array is not sorted!!that's it!thnkx.
em looking forward for YOU PEOPLE REPLY...