Question: This must be done with C# coding language. Please use a while loop to let the user input grade weights of categories until they enter

This must be done with C# coding language. Please use a while loop to let the user input grade weights of categories until they enter 0 in which the loop should exit with keyword "break". After this, it should display their final grade, maximum possible grade, final letter grade, and the condition of whether they passed or failed the class. The final letter grade should be given using an if statement. An F is from 0-59.99, D- is from 60-62.99, D is from 63-66.99, D+ is from 67-69.99, C- is from 70-72.99, C is from 73-76.99, C+ is from 77-79.99, B- is from 80-82.99, B is from 83-86.99, B+ is from 87-89.99, A- is from 90-92.99, A is from 93-96.99, A+ is from 97 or higher. If the student receives a grade of C or higher, display a congratulation message of passing. If the student receives a grade of C- or lower, display an unfortunate message of failing. One sample output is shown below:C:?? Windows ??? system 32??cmd.exe
Please enter the weight of category 1: 5%
Please enter the percentage grade earned: 0%
Please enter the weight of category 2: 5%
Oplease enter the percentage grade earned: %
c
Please enter the weight of category 3: 50%
SPlease enter the percentage grade earned: 48.14%
c
Please enter the weight of category 4:25%
Please enter the percentage grade earned: 92%
Please enter the weight of category 5: 25%
Please enter the percentage grade earned: 100%
Please enter the weight of category 6:0%
Your final percentage grade is 72.07%.
The highest grade possible for this class was 110%.
Your final letter grade is C-.
Unfortunately, you failed this class. You will have to repeat the course again next semester.
EPress any key to continue.. .
 This must be done with C# coding language. Please use a

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!