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 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
Get step-by-step solutions from verified subject matter experts
