Question: Write a C# console application that prompts the user for three student names and their grades on each of three tests. The program then outputs
Write a C# console application that prompts the user for three student names and their grades on each of three tests. The program then outputs each student's average (arithmetic mean) test score in descending order. Each test is out of 100 points and the three tests are weighted evenly. Also print the average (arithmetic mean) score for all nine test scores. Sample I/O: Name: Ben Grade: 80 Grade: 90 Grade: 79 Name: Sally Grade: 93 Grade: 92 Grade: 91 Name: Alice Grade: 90 Grade: 80 Grade: 92 The class average is 87.44. Sally's average score is 92 Alice's average score is 87.33. Ben's average score is 83. From question I. (magically?) realize you should create an object that holds a student name and three test grades, write the C# class to hold and return this information. Also include a method to return the average test score. No need to check for valid information sent to your "set methods N Write a C# console application that prompts the user for a student's name, then the student's grades on three tests. The program than outputs the student's average (arithmetic mean)test score. Each test is out of 100 points and the three tests are weighted evenly. No need to check for valid input. Sample VO: en Grade: 80 Grade: 90 Grade: 79 Ben's average score is 83
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
