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 quizzes, midterms, and a final, using the following scheme: Quizzes: Quizzes are graded on a scale from to The grade of the lowest quiz is dropped and the average of the quizzes with the higher grades constitutes of the course grade.
Midterms: Midterms are graded on a scale from to If the average of the midterm scores is higher than the score on the final, the average of the midterms is 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 of the course grade.
Final: Finals are graded on a scale from to The final is of the course grade.
Write a computer program in 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 and Finally, the program assigns a letter grade according to the following key: A for Grade for
Grade for Grade for Grade and for a grade lower than Execute the program for the following cases: a Quiz grades: Midterm grades: Final grade:
b Quiz grades: Midterm grades: Final grade:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
