Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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' 70Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started