subject

Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions. Void getscore() should ask the user for a test scores, store it in a reference parameter variable and validate it. This function should be called by main once for each of the five scores to be entered.

Void calcAverage() should calculate and display the average of the four highest scores. This function should be called just once by main, and should be passed the five scores.

Int findLowest() should find the lowest of the five test scores passed to it. It should be called be calcAverage, which uses the function to determine one of the five scores to drop.

Do not accept scores less than 0 or higher then 100

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 24.06.2019 01:00
Answer these and get 40 points and brainliest
Answers: 1
question
Computers and Technology, 25.06.2019 04:50
Your program should prompt the user for the dimensions of the two squares matrices, making sure that the user input is greater than or equal to 4.[ yes, an example would be a4x4matrix]2.if the above is not met, prompt the user for a new value.3.now generate random integernumbers to fill both matrices.4.display these two matrices on the screen.5.multiply the two matrices and display the result on the scre
Answers: 2
question
Computers and Technology, 25.06.2019 08:50
Write multiple if statements: if caryear is before 1968, print "probably has few safety features." (without quotes). if after 1971, print "probably has seat belts.". if after 1991, print "probably has anti-lock brakes.". if after 2002, print "probably has airbags.". end each phrase with period and newline. ex: caryear = 1995 prints:
Answers: 2
You know the right answer?
Write a program that calculates the average of a group of test scores, where the lowest score in the...
Questions
question
Biology, 26.12.2020 23:00
question
Mathematics, 26.12.2020 23:00
question
History, 26.12.2020 23:10
Questions on the website: 13722367