0
how to Find The median With If Statement ?! anyone help me ..
2 Respostas
0
if you are using an array:
int length = array.length;
int medianIndex = length/2;
now, to get the median:
array[medianIndex];
that is the most basic way and will only work if your data is Ungrouped with an ODD Length/Count/Size.
0
Thank you bro