Question: Using C++, Design an Essay class that is derived from the GradedActivity class presented in the lecture. The Essay class should determine the grade a
Using C++,
Design an Essay class that is derived from the GradedActivity class presented in the lecture. The Essay class should determine the grade a student receives on an essay. The student's essay score can be up to 100, and is determined in the following manner:
Grammar: 30 points
Spelling: 20 points
Correct length: 20 points
Content: 30 points
Demonstrate the class in a simple program.
Sample Run How many grammer points did the student earn? (0 - 30): 20 How many spelling points did the student earn? (0 - 20): 15 How many points for length did the student earn? (0 - 20): 20 How many points for content did the student earn? (0 - 30): 20 Grammer points: 20 Spelling points: 15 Length points: 20 content points: 20 Overall score: 75 Grade: C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
