Question: To write a program that implements the following C++ concepts 1. Abstraction and Data Encapsulation 2. Instantiate classes 3. Operator Overloading 4. Dynamic Memory Calculating

To write a program that implements the following C++ concepts

1. Abstraction and Data Encapsulation

2. Instantiate classes

3. Operator Overloading

4. Dynamic Memory

Calculating your GPA

Create a class where the program asks your grades. The program will ask for grades until you enter -1.

You should use operator overloading for asking the grades and implements dynamic memory to save

the grades onto memory. After entering -1 the program should print your GPA.

Remember: GPA = sum of grades // where n is the total of grades

n-grades

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!