Question: In C sharp, Create an enum that has four elements: A, B, C and D, representing a letter grade of a class. A is equal
In C sharp, Create an enum that has four elements: A, B, C and D, representing a letter grade of a class. A is equal to 90, B is equal to 80, C is equal to 70, and D is equal to 60.
- Create a class that
- ask the user to input a number representing the numeric grade. The number must be greater than zero and less than or equal to 100.
- Determine the letter grade based on the following rules: - any grade of 90 or more is an A, any grade of 80 or more (but less than 90) is a B,
- any grade of 70 or more (but less than 80) is a C,
- any grade of 60 or more (but less than 70) is a D,
- and any grade below 60 is an F.
- display the letter grade
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
