Question: QH1 Write a function that receives an array of integers arr and its size n as arguments. The function should return as output arguments the

 QH1 Write a function that receives an array of integers arr

QH1 Write a function that receives an array of integers arr and its size n as arguments. The function should return as output arguments the zverage of array elements and the number of elements that are low the calculated average. In the main, initialize an array then call the function belowAvg then display the results. void belowAvg (int arr[ 1 , int n, double \& avg, int \& below)

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!