what is the median of 2,4,8,12 ?
Answers
Answered by
2
Answer:
When the number of elements in array is even, then, median = [(n/2)th + (n/2th +1)]/2
Here, n = no. of elements = 4
=> (n/2) th= 2nd element = 4
=> (n/2 +1) th = 3rd element = 8
Thus, median = (4+8)/2
=> median = 12/2
=> median = 6
Similar questions