@@ -0,0 +1,716 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=818%0A%0Apublic class Average %7B%0A%09public static int belowAvg(int%5B%5D math, int%5B%5D verbal) %7B%0A%09%09// Get composite average score%0A%09%09double compositeAverageScore = 0.0;%0A%09%09for (int i = 0; i %3C math.length; ++i) %7B%0A%09%09%09compositeAverageScore += math%5Bi%5D;%0A%09%09%09compositeAverageScore += verbal%5Bi%5D;%0A%09%09%7D%0A%09%09compositeAverageScore /= math.length;%0A%09%09%0A%09%09// Get number of children with score below the composite average score%0A%09%09int belowAverageChildCount = 0;%0A%09%09for (int i = 0; i %3C math.length; ++i) %7B%0A%09%09%09double currentChildScore = (math%5Bi%5D + verbal%5Bi%5D);%0A%09%09%09if (currentChildScore %3C compositeAverageScore) %7B%0A%09%09%09%09belowAverageChildCount++;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return belowAverageChildCount;%0A%09%7D%0A%7D%0A

Create Average.java