# computer programming c++

c++ program questoin

A particular talent competition has 5 judges, each of whom awards a score
between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed.
A performer’s final score is determined by dropping the highest and lowest score
received, then average the three remaining scores. Write a program that uses this
method to calculate a contestant’s score. It should include the following functions:

Void getJudgeData() should ask the user for a judge’s score, store it in a reference parameter variable, and validate it. This function should be called by main once for each of the five judges.

Void calcScore() should calculate and display the average of the three scores that remain after dropping the highest and lowest scores the performer received. This function should be called just once by main and should be passed the five scores. The last two functions should be called by calcScore(), which uses the returned information to determine which of the scores to drop.

Int findLowest() should find and return the lowest of the five scores passed to it.

Int findHighest() should find and return the highest of the five scores passed to it.

Input validation: Do not accept judge scores lower than 0 or higher than 10

1. 0
2. 13

## Similar Questions

1. ### Math

Winona needs to average 5.8 points from 14 judges to win the competition. The mean score of 13 judges was 5.9. What is the lowest score she can receive from the fourteenth judge and still win? I have no idea. Please help. Thanks
2. ### Math

In a skating competition, the marks of judges are randomly selected to count. Then the highest and lowest marks are dropped, and the skater receives the mean of the remaining marks. There are some of the marks that 11 judges gave
3. ### Honors Pre- AlgebraMath

Winona needs to average 5.8 points from 14 judges to win the competition. The mean scores from 13 judges were 5.9. What is the lowest score she can get from the fourteenth judge and still win?
4. ### Computer Programing & Logic Design

Submit pseudocode and a flowchart for the following programming exercise: Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the
5. ### math

To qualify for a special program at university, sharma had to write a standardized test. The test had a maximum score of 750, with a mean score of 540 and a standard deviation of 70. Scores on this test were normally distributed.
6. ### Statistics

2. On a certain anxiety questionnaire, the population is known to have a mean of 12 and a standard deviation of 2.3. A higher score represents higher levels of anxiety. Participants in a new relaxation program complete the
7. ### Java Programming

How to create a two dimensional arrays that stored the score of 3 subjects of 2 semesters, and score will added by users and program should do - Calculate the average scores of each semester - The maximum score of each semester -
8. ### java programming

Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program: •
9. ### math

A gymnast received the following scores from 5 judges in the state competition. floor:8.8, 9.3, 8.1, 8.9, 9.5 bars: 7.6, 8.2, 8.5, 8.2, 8.9 vault: 9.5, 8.9, 9.4, 9.5, 9.0 beam: 8.4, 8.5, 8.4, 7.9, 8.7 Her score for each event is
10. ### Math

A total of 68 awards will be given to the soccer team. Each box holds 8 awards. How many awards are in the partially filled box?

More Similar Questions