Write a C# console application named MaxMin that asks the user to enter 5 integers, representing the test scores of 5 students. For each input score, you need to check and make sure it is valid (i.e.,...


Write a C# console application named MaxMin that asks the user to enter 5 integers, representing the test scores of 5 students. For each input score, you need to check<br>and make sure it is valid (i.e., in between 0 and 100).<br>Store the 5 integers in an int array, and then find and display the highest and the lowest scores on the screen.<br>For example, if you have the 5 scores as {85, 72, 65, 98, 80}, then the output message should be

Extracted text: Write a C# console application named MaxMin that asks the user to enter 5 integers, representing the test scores of 5 students. For each input score, you need to check and make sure it is valid (i.e., in between 0 and 100). Store the 5 integers in an int array, and then find and display the highest and the lowest scores on the screen. For example, if you have the 5 scores as {85, 72, 65, 98, 80}, then the output message should be "The highest score is 98, and the lowest score is 65". Hint: use a while loop.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here