Homework 4 - Inheritance

2020_S19/wk4/hw4.cpp

Assignment

The purpose of this assignment is to practice OOP inheritance by creating a base class and a derived class. You will be given main.

hw4Main.cpp

Use the following list of features to code each class

Base Class - Person

Derived class - Student

This class inherits from the Person class publicly. It defines a student with a major and gpa.

Derived Class - Faculty

This class inherits from the Person class publicly. It defines a faculty with department and salary