Another array question dealing with a return method

Write a method called arrayAvg that accepts as an argument an array of numbers and returns the average of the numbers in that array. Create an array to test your code with and call the method from main to print the average to the screen.

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now