Question: 7) Write a method that returns the sum of an array of integers. Write another method that returns the average of an array of integers.
7) Write a method that returns the sum of an array of integers. Write another method that returns the average of an array of integers. Write one more method that will display the contents of an array of integers. Using the array from number 6, call each of these methods. 8) Write another method that can search the array for a given value. If the value is found in the array, print "Found it" otherwise print "It's not here". Call this method using the array from number 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
