Question: in c++ please write a program using array, and pass the array to a function that asks to input 5 numbers, calculates the average of
in c++ please
write a program using array, and pass the array to a function that asks 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 average is 2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
