Programming Assignment #5 Part 2
for data 9, 4, 7, 5, 5, 4, 4, 2
Hints & Updates
public static boolean isEven (int n) { if (n % 2 == 0) return true; else return false;}Put this method outside of your median method, then call from within your median method.