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. The main program should create an array of size 5 and should call the function getScore() and calcAverage(), by passing the array in both the functions • void getScore(score, SIZE) – This function should ask the user for five test scores, validate it and store it in the array. • void calcAverage(score, SIZE) - This function should call findLowest() and get the lowest of five scores. After dropping the lowest score, it should calculate and display the average of the four highest scores. • int findLowest(score, SIZE)- This function should find and return the lowest of the five scores passed to it. • Function prototypes void getScore(int [], int); void calcAverage(int [], int); int findLowest(int [], int); Input Validation: Do not accept test scores lower than 0 or higher than 100

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
question
Computers and Technology, 22.06.2019 12:10
Linux is distributed under gnu gpl. why is this important? a. it ensures that only torvalds can profit from the sale of linux b. it prevents unknowledgeable users from downloading programs they don't know how to operate. c. it provides protection for the developers who created linux. d. it states that anyone can copy, modify, and share the program if changes are made public.
Answers: 1
question
Computers and Technology, 22.06.2019 13:00
Why the bear has a slunky tail determine the meaning of the word slunk in the story
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
If your accelerator suddenly gets stuck what should you do
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
Geography, 25.05.2021 06:50
question
English, 25.05.2021 06:50
question
Mathematics, 25.05.2021 06:50
question
Mathematics, 25.05.2021 06:50
Questions on the website: 13722361