Question: LB5. Write a C# console application that accepts an indefinite number of test scores for a student, and then computes some statistics about those scores:

LB5. Write a C# console application that accepts an indefinite number of test scores for a student, and then computes some statistics about those scores: Prompt the user for test scores until they enter 999 If the user enters a score inside the range of 0 through 100 Accept the score Prompt the user for another score If the user enters 999 Ignore the test score Do not display an error message display the number of scores, sum, average, min, and max stop the program If they enter a score outside the range of 0 through 100 Ignore the test score Display an error message Prompt the user for another score

LB5. Write a C# console application that accepts an indefinite number of

Please enter a test score: 70 Please enter a test score: 1 Invalid score Please enter a test score: 80 Please enter a test score: 101 Invalid score Please enter a test score: 90 Please enter a test score: 999 Number of scores: 3 Sum of test scores: 240.0 Average test score: 80.0 Lowest test score: 70.0 Highest test score: 90.0 Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!