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

#include #include #include //for the exit() function using namespace std; //func

ID: 3656410 • Letter: #

Question

#include #include #include //for the exit() function using namespace std; //function prototypes void ReadInScores (int scores[], int & howMany); float FindAverage(int scores[], int howMany); void PrintScores(int scores[], int howMany); int main() { //varible declaration const int MAX_SCORES = 30; //the array has at most 30 entries int scores [MAX_SCORES]; //an array of test scores with 30 entries int howMany; //the actual size of the array float averageScore; //the average of the scores array //activate the function to read the scores ReadInScores(scores, howMany); //activate the function to print the scores PrintScores(scores, howMany); //Place your activation statement for FindAverage() here //averageScore will be assigned from FindAverage Place your activation statement for FindAverage() here averageScore will be assigned from FindAverage REMEMBER: average is float and make sure NOT to do interger expression. cout<<"Average score is : "<<averageScore<<endl; return 0; } //Function: ReadInScores() //This function reads a set of scores from standard input. //First the number of scores is read, then the scores. void ReadInScores (int scores[], int& howMany) { //read the number of scores first //then read the scores into array // The input of the first line is the number of scores, // and the rest of the input are scores. // Read the number of scores first then read the scores into array // Do NOT add any OUTPUT statement here!! } //Your PrintScores() function //This function is passed an array of scores and the //number of scores. It printsthe scores. void PrintScores(int scores[], int howMany) { //print scores in array //number of scores in the array is howMany for (int i=0; i<< scores[i]<<endl; return; } //Place your FindAverage()function definition here //Function: FindAverage() //This function is passed an array of scores and the //number of scores. It returns the average of the scores. Place your FindAverage()function definition here Function: FindAverage() This function is passed an array of scores and the number of scores. It returns the average of the scores.

Explanation / Answer

please post your program line by line .....