Write the program code to handle as many as 40 test scores


Write a program to calculate the average of a series of test scores, where the lowest score in the series is dropped. The program must use the following function types:

Void getValues();

void calcAvg (int, int, int, int, int);

int findLow (int, int, int, int, int);

The insistence that we use value parameters with these function prototypes restricts the way we write the program. For example, to input the test scores, call the function getValues() from the funcion main(). Since getValues() is a void function, then nothing is returned to main(). The remaining logic flow must be completed with function calls from the function getValues() as you see fit.

Write the program code to handle as many as 40 test scores; however, for this assignment you will enter only the following five scores: 70, 80, 60, 80, 70

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write the program code to handle as many as 40 test scores
Reference No:- TGS0662584

Expected delivery within 24 Hours