Write two overloaded methods that return the average of an array with the following headers: public static

Question:

Write two overloaded methods that return the average of an array with the following headers:
public static int average(int[] array)
public static double average(double[] array)
Write a test program that prompts the user to enter ten double values, invokes this method, and displays the average value.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: