Writing Codes In Dr Java

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.