Complete the following file:

Rainfall.java

public class Rainfall { public static double averageRainfall(double[] rainfall) { double sum = 0; int i = 0; int count = 0;
. . .
} }