Return the average of the numbers as a decimal. An empty list averages 0.0.
double average(java.util.ArrayList<Integer> list)
Examples
There are also 2 hidden tests you can't see. Solve the problem, not the examples.