Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The following program skeleton, when completed, will ask the user to enter 10 in

ID: 3552674 • Letter: T

Question

The following program skeleton, when completed, will ask the user to enter 10 integers, which are stored in an array. Finish the program by writing the prototypes and the definitions of the functions avgArray and highLow, The function avgArray should calculate and display the average of the array elements. The function highLow should find and display the largest and smallest values stored in the array.



#include <iostream>
using namespace std;


//Write your function prototypes here.






int main ( )
{
    const int SIZE = 10;
    int userNums[SIZE];

    cout <<

Explanation / Answer


#include <iostream>
using namespace std;


//Write your function prototypes here.


int avgArray(int[],const int);

void highLow(int[],const int);



int main ( )
{
    const int SIZE = 10;
    int userNums[SIZE];

    cout <<