Complete the following file:

Rainfall.java

public class Rainfall { public static double averageRainfall(double[] rainfall) {
. . .
} public static void main(String[] args) { System.out.println(averageRainfall(new double[] { 1, 2, -3, -4, -5, 6, 9999 })); System.out.println(averageRainfall(new double[] { -1, -2, -3, 9999, 100 })); } }