Question: Apply a button that calculates (using a loop) and displays the average of the elements in an array. Apply a second button that finds the

 Apply a button that calculates (using a loop) and displays the

Apply a button that calculates (using a loop) and displays the average of the elements in an array. Apply a second button that finds the min and max values in the array by using a loop.

have a button that calculates and displays the average of the elements in the array. The average must be calculated using a loop. For example, if we have entered 4,7,11,12, and 9 , then the average will be: Avg=54+7+11+12+9=8.6 have a button that finds the minimum and maximum values in the array by using a loop. For example, if we again entered 4,7,11,12, and 9 , then the minimum is 4 and the maximum is 9

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!