Question: c++ Question) Write necessary classes with the following functionality. We need to keep grades for each student. Represent grades using a class and student with
c++

Question) Write necessary classes with the following functionality. We need to keep grades for each student. Represent grades using a class and student with another class. Determine the relationship between the classes (composition or inheritance). Don't duplicate code and/or variables. Requirements: We need to keep 3 grades for each student : mid1 mid2 and final The student object needs to keep a name, grades and a Letter Grade. Write necessary constructors and set/get methods for each class Write necessary methods to print 3 grades and Letter grade as well Write a method for student class to calculate the Letter Grade from 3 grades. Use the following formula: final grade= 40 percent of final + 25 percent of Midi + 35 percent of Mid2 90 Letter is 'A' 70
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
