I\'m trying to calculate the total, mean and median of an array thats populated by input received by a textfield. I\'ve managed to work out the total and the mean, I just ca
Arrays.sort(numArray); return (numArray[size/2] + numArray[(size-1)/2]) / 2;