The MEDIAN of an array of numbers is the element m of the array such that half the remaining
numbers in the array are greater than or equal to m and half are less than or equal to m if the number
of elements in the array is odd. If the number of elements is even, the median is the average of two
elements m1 and m2 such that half the remaining elements are greater than or equal to m1 and m2,
and half the elements are less than or equal to m1 and m2.
Write a C++ Function that accepts an array of numbers and returns the median of the
numbers in the array
Answers
Answered by
1
Answer:
yxhzhsjsjskkskskskskksksk
Similar questions