Question: Lowest test score, the test average is 6 8 . 5 0 is 6 8 . 5 0 This average is calculated by dropping the
Lowest test score, the test average
is
is
This average is calculated by dropping the lowest score which is and dividing the sum of the remaining four values and which is by
It should use the following functions:
An int function getscore with no parameters, to ask the user for a single test score, validate it and return the score. The function should be called by the main function once for each of the five scores to be entered. Do not accept test scores lower than or higher than
An int function findLowest that is passed the five test scores and then finds and returns the lowest of the five scores passed to it It is called by function calcAverage, to determine which of the five scores to drop.
A float function calcAverage that is passed the five test scores and then calculates and returns the average of the four highest scores.
A void function displayoutput that is passed the average score; it then displays the average of the test scores. Display two digits after the decimal point.
You must submit the four functions you have developed as well as output using the following sets of input data:
table
Submit the program and the output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
