this is the question
Most teachers assign various graded activities for their students to complete. A graded activity can consist of a numeric score such as 65, 89, 93 and so on. GradedActivity class is to hold the numeric score and letter grade of a graded activity. When a numeric score is stored by a class, it automatically determines the letter grade. The class has a default constructor that initializes the score which is a private member variable to 0.0. A second constructor accepts an argument for score. The setscore member function also accepts an argument for the score variable, and the getLetterGrade member function returns the letter that corresponds to the value in score.
finalExam class is derived from the gradedActivity class. It has member variables for the number of question on the exam (numQuest), the number of points each question is worth (pointEach) and the number of question missed by the student (numMissed). The default constructor assigns 0 to each of the class’s member variables. Another constructor accepts two arguments, one for the number questions on the exam and one for the number of questions missed. This constructor merely passes those values as arguments to set which is the class member function. In set function, identify, numQuest and numMissed will be set with those values respectively. Assume that the full mark test is 100 points. The numeric test score is calculated by reducing the full mark with the total marks for the missed questions. Set the numeric test score into score.
Demonstrate the two classes in a main function. So that the following sample output might be produced:
How many questions are on the final exam? 20 [enter]
How many questions did the student miss? 3 [enter]
i've tried n now im so stucked. please help me