Question: C# Write a program that allows any number of values between 0 and 100 to be entered. Prompt the user for a new score if
C#
Write a program that allows any number of values between 0 and 100 to be entered. Prompt the user for a new score if they specify a value less than 0 or greater than 100 or if the value is not an integer numeric value (e.g. if they enter alphabetic character(s)). Store the values in an array. After the user stops entering data, calculate the average (arithmetic) after excluding the lowest and highest scores. Also calculate the median value (also excluding the lowest and highest scores). Display the average, the median, the lowest score (i.e. the one discarded), the highest score (i.e. the one discarded). The user should specify no more data by having an empty line response. For a console read, hitting enter with no data string provided.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
