# computer programming c++

posted by .

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

## Similar Questions

1. ### Statistics -- Probability

I need to calculate P(man is a ballet dancer and a musical performer) given the following information... In a random sample of male and female graduates of the New York School for the Arts between the ages of 22-35 you know that: the …
2. ### 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 average …
3. ### Java programming

â€“ One Dimensional Array Consider this example problem: You are given 7 quiz scores of a student. You are to compute the final quiz score, which is the sum of all scores after subtracting the lowest one. For example, if the scores …
4. ### Physics

In a circus an elderly performer thrills the crowd by catching a canon ball shot at him. The cannon ball has a mass of 28.0 kg and its horizontal component of velocity is 6.50 m/s when the 65.0 kg performer catches it. If the performer …
5. ### Statistics

Given that a population of scores is normally distriibuted with u=100 and o=8, determine the following: a. The percentile rank of a score of 120 b. The perentage of scores that are below a score of 99 c. The percentage of scores that …
6. ### 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 - The …
7. ### programming

would someone be able to give me an idea of how to start coding this in C?
8. ### 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?
9. ### 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?
10. ### 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: • calcAverage—This …

More Similar Questions

Post a New Question