Question: Your Program You will complete a program that calculates a contestant's score based on the scores from five judges. The highest and lowest of the
Your Program
You will complete a program that calculates a contestant's score based on the scores from five judges.
The highest and lowest of the judges' scores are thrown out, and the contestant's score is the average of
the remaining three judges' scores.
I have already written the main function for you, and the function to get user input provided in the
AverageScore.cs file You should not make any modifications to the Main function, or to the
getDoubleto function. You will write two additional functions, as specified in the comments in the
file. Note that the functions you write must match the calls to those functions from the main program.
You may not use global variables. You will turn in the completed cs file.
The output from your program should look similar to the sample output below.
Can you please be detailed with c# code and all the steps. I also attached the output of how code should look.
This program calculates the contestant's score based on
scores from judges. The highest and lowest scores are dropped.
Score from judge :
Score from judge :
Score from judge :
Score from judge :
Score from judge :
The contestant's score is:
Press any key to continue...
file:C:UserslsilcoxDocumentsVisual Studio ProjectsDemoProjectDemoProject
This program calculates the contestant's score based on
scores from judges. The highest and lowest scores are dropped.
Score from judge :
Score from judge :
Score from judge :
Score from judge :
Score from judge :
You entered invalid input.
Enter a double between and : hello
You entered invalid input.
Enter a double between and :
The contestant's score is:
Press any key to continue...
Start of your code
This function finds the minimum and maximum of a series of numbers
This function should have a void return type.
You must use some reference parameters for this function.
Remember that inside this class, because it is not instantiated,
we need to define these functions as static.
Write this function
Find the average of numbers excluding the minimum and maximum
If there is more than one number with the minimum or maximum value,
only exclude the number one time. For example, if the numbers are:
the average is calculated using the numbers:
This function must call the above function that finds the minimum and maximum
values in a series of numbers.
This function does not use reference parameters
Write this function
End of your code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
