Question: Write a program using array, and pass the array to a function that asks user to input 5 numbers, calculates the average of those numbers,

Write a program using array, and pass the array to a function that asks user to input 5 numbers, calculates the average of those numbers, then count the total number that is greater than the average. For example, you have input 5 numbers as: 1, 2, 3, 4, 5. The average is 3. The total count above the average is 2. You have to use the loop to do this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
