Answered step by step
Verified Expert Solution
Link Copied!

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++

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago

Question

=+country competitive advantages? Why? Support your point of view.

Answered: 1 week ago

Question

=+from: a) a MNEs perspective? and b) the HRM managers perspective?

Answered: 1 week ago