Assume you are Professor and you want to automate grading.
Write a program to translate the letter grade to a number.
An example would be to translate an “A” to “4”.
The Letter grades we use at the College level are A, B, C, D, F.
The corresponding numbers are 4, 3, 2, 1, 0
All letter grades could have a + or – after them except the letter grade F at the University level.
Therefore, the letter grades are: A, A-, B+, B, B-, C+, C, C-, D+, D, D-, F
A letter grade that has + sign after it, is increased by 0.3 and a letter grade that has - sign after it, it is decreased by 0.3.
Assume that there is not an A+.
Please validate your input.
Enter a letter grade: A-
The numeric value is 3.7
Thu Feb 21 2019 20:15:14 GMT-0500 (EST)