Return the average of the numbers as a decimal. An empty array averages 0.0. Dividing two ints throws away the fraction, so one side needs to be a double.
double average(int[] values)
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.