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

Can any one help me with thisassignment? I will rate a \"max\" to this problem (

ID: 3607933 • Letter: C

Question

Can any one help me with thisassignment? I will rate a "max" to this problem (answer).

Problem 1)
  • Sum most return a sum of all ofthe data in the array
  • CountNmbrsBigger most return acount of the number of data elements in the array that are largerthan a given integer
  • Average most returns an averageof the data in an array
  • High most returns the highestvalue in the array
  • Low most returns the lowest valuein the array
  • Find(number) most returns thefirst index of the location of the number in the array

#include <iostream>
using namespace std;

int sum(int [], int);
int countNmbrsBigger(int [], int, int);
int average(int [], int);
int high(int [], int);
int low(int [], int);
int find(int [], int, int);


int main (void)
{
    const int arraySize = 10;
    int theArray[arraySize] = {1, 5, 25, 10, 12, 9,24, 24, 22, 2};

    cout << "Sum: " << sum(theArray,arraySize) << endl;
    cout << "Count of numbers bigger than 10:" << countNmbrsBigger(theArray, arraySize, 10) <<endl;
    cout << "Average: " <<average(theArray, arraySize) << endl;
    cout << "High: " << high(theArray,arraySize) << endl;
    cout << "Low: " << low(theArray,arraySize) << endl;
    cout << "Find: " << find(theArray,arraySize, 25) << endl;
    cout << "Find: " << find(theArray,arraySize, 100) << endl;

}

int sum(int theArray [], inttheArraySize)
{

    return //value;
}

int countNmbrsBigger(int theArray [], int theArraySize, intNumber)
{

    return //value;
}

int average(int theArray [], int theArraySize)
{

    return //value;
}

int high(int theArray [], inttheArraySize)
{

    return //value;
}

int low(int theArray [], inttheArraySize)
{
   
    return //value;
}

int find(int theArray [], int theArraySize, int theNumber)
{

    return //value;
}

Explanation / Answer

Here you go, please make sure to rate #include using namespace std; int sum(int [], int); int countNmbrsBigger(int [], int, int); float average(int [], int); int high(int [], int); int low(int [], int); int find(int [], int, int); int main (void) {     const int arraySize = 10;     int theArray[arraySize] = {1, 5, 25, 10, 12, 9,24, 24, 22, 2};     cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote