C++ Problem: Write a program that will calculate a student’s final score in this class based on the followingdual grading system: Scheme A Scheme B Midterm Exam 35% Midterm exam score dropped Final Exam 40% Final Exam 70% Homework 25% Homework 30% Assume that there will be N homework assignments total, and the lowest homework scorewill be dropped. The maximum of the two scores obtained from the two grading schemeswill be the final score. In addition to printing the final score, you should also determine theletter grade that corresponds to the numerical average based on the following scale:90 <= A <= 100, 80 <= B < 90, 70 <= C < 80, 60 <= D < 70, 0 <= F < 60.The input and output should be exactly:Please enter the midterm exam score (0 - 100):[USER ENTERS A DECIMAL NUMBER]Please enter the final exam score (0 - 100):[USER ENTERS A DECIMAL NUMBER]Please enter the number of homework assignments (3 - 7):[USER ENTERS A POSITIVE INTEGER N]Please enter the homework 1 score (0 - 100):[USER ENTERS A DECIMAL NUMBER]Please enter the homework 2 score (0 - 100):[USER ENTERS A DECIMAL NUMBER]...Please enter the homework N score (0 - 100):[USER ENTERS A DECIMAL NUMBER, where N is the number of homework assignments]Your final score based on Scheme A is [OUTPUT THE SCHEME A SCORE]Your final score based on Scheme B is [OUTPUT THE SCHEME B SCORE]Your final score is [OUTPUT THE MAXIMUM OF THE ABOVE TWO SCORES]Your course grade is [OUTPUT A LETTER GRADE]
C++ Problem:
Write a program that will calculate a student’s final score in this class based on the following
dual grading system:
Scheme A | Scheme B |
Midterm Exam 35% | Midterm exam score dropped |
Final Exam 40% | Final Exam 70% |
Homework 25% | Homework 30% |
Assume that there will be N homework assignments total, and the lowest homework score
will be dropped. The maximum of the two scores obtained from the two grading schemes
will be the final score. In addition to printing the final score, you should also determine the
letter grade that corresponds to the numerical average based on the following scale:
90 <= A <= 100, 80 <= B < 90, 70 <= C < 80, 60 <= D < 70, 0 <= F < 60.
The input and output should be exactly:
Please enter the midterm exam score (0 - 100):
[USER ENTERS A DECIMAL NUMBER]
Please enter the final exam score (0 - 100):
[USER ENTERS A DECIMAL NUMBER]
Please enter the number of homework assignments (3 - 7):
[USER ENTERS A POSITIVE INTEGER N]
Please enter the homework 1 score (0 - 100):
[USER ENTERS A DECIMAL NUMBER]
Please enter the homework 2 score (0 - 100):
[USER ENTERS A DECIMAL NUMBER]
...
Please enter the homework N score (0 - 100):
[USER ENTERS A DECIMAL NUMBER, where N is the number of homework assignments]
Your final score based on Scheme A is [OUTPUT THE SCHEME A SCORE]
Your final score based on Scheme B is [OUTPUT THE SCHEME B SCORE]
Your final score is [OUTPUT THE MAXIMUM OF THE ABOVE TWO SCORES]
Your course grade is [OUTPUT A LETTER GRADE]
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images