Question: Write C + + progtam to answer this question. The overall grade in a course is determined from the grades of 5 quizzes, 3 midterms,

Write C++ progtam to answer this question. The overall grade in a course is determined from the grades of 5 quizzes, 3 midterms, and a final, using the following scheme: Quizzes: Quizzes are graded on a scale from 0 to 10. The grade of the lowest quiz is dropped and the average of the 4 quizzes with the higher grades constitutes 25% of the course grade.
Midterms: Midterms are graded on a scale from 0 to 100. If the average of the midterm scores is higher than the score on the final, the average of the midterms is 35% of the course grade. If the final grade is higher than the average of the midterms, then the lowest midterm is dropped and the average of the two midterms with the higher grades is 35% of the course grade.
Final: Finals are graded on a scale from 0 to 10. The final is 40% of the course grade.
Write a computer program in C++ that determines the course grade for a student. The program first asks the user to enter the five quiz grades (in a vector), the three midterm grades (in a vector), and the grade of the final. Then the program calculates a numerical course grade (a number between 0 and 100). Finally, the program assigns a letter grade according to the following key: A for Grade 90,B for
80 Grade 90,C for 70 Grade 80,D for 60 Grade 70, and E for a grade lower than 60. Execute the program for the following cases: (a) Quiz grades: 7,9,4,8,7. Midterm grades: 93,83,87. Final grade: 9.
(b) Quiz grades: 8,6,9,6,9. Midterm grades: 81,75,79. Final grade: 7.
Write C + + progtam to answer this question. The

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 Programming Questions!