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