Write a grading program for a class with the following grading policies: a. There are two quizzes, each graded on the basis of 10 points. b. There is one midterm exam and one final exam, each graded on the basis of 100 points. c. The final exam counts for 50 percent of the grade, the midterm counts for 25 percent, and the two quizzes together count for a total of 25 percent. (Do not forget to normalize the quiz scores. They should be converted to a percent before they are averaged in.) Any grade of 90 or more is an A, any grade of 80 or more (but less than 90) is a B, any grade of 70 or more (but less than 80) is a C, any grade of 60 or more (but less than 70) is a D, and any grade below 60 is an F. The program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and the final letter grade. Define and use a Class for the student record.
c++
Write a grading program for a class with the following grading policies:
a. There are two quizzes, each graded on the basis of 10 points.
b. There is one midterm exam and one final exam, each graded on the basis of 100
points.
c. The final exam counts for 50 percent of the grade, the midterm counts for 25
percent, and the two quizzes together count for a total of 25 percent. (Do not forget
to normalize the quiz scores. They should be converted to a percent before they are
averaged in.) Any grade of 90 or more is an A, any grade of 80 or more (but less
than 90) is a B, any grade of 70 or more (but less than 80) is a C, any grade of
60 or more (but less than 70) is a D, and any grade below 60 is an F.
The program will read in the student’s scores and output the student’s
record, which consists of two quiz and two exam scores as well as the
student’s average numeric score for the entire course and the final letter
grade. Define and use a Class for the student record.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images