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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!