# computer programming c++

posted by james

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. ### 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 …
5. ### 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 …
6. ### programming

would someone be able to give me an idea of how to start coding this in C?
7. ### programming

Write a Java application that computes and prints the grade of a student according to the following algorithm: 1) It should read from the user TMA score and MTA score. 2a) If their sum is less than 15, the grade "FC" should be printed …
8. ### programming concepts

Mr. Jones always gives True/False tests to his class. His tests always have 20 ques- tions. The maximum class size is 35. He needs a program that will calculate the stu- dents’ grades based on the best score. Grade A will range from …
9. ### programming concepts

Mr. Jones always gives True/False tests to his class. His tests always have 20 ques- tions. The maximum class size is 35. He needs a program that will calculate the stu- dents’ grades based on the best score. Grade A will range from …
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