Must be written in C++ language
In this part, you will design aggregate classes to recordpersonal and academic information about instructors at auniversity.
The classes are: Instructor, and Course (from Program 1). Allclass attributes must be private and accessed through public memberfunctions.
1. You need to write appropriate constructor (default andoverloaded), accessor (print and get if necessary) and mutator(set) functions for each class. The attributes of each class aresummarized below:
Instructor class contains personal and academic information. Youmay assume every instructor teaches 3 courses. Instructor class hasthe following private attributes:
string firstName
string lastName
char gender (‘M’ for Male and ‘F’ for Female)
long empoyeeID
string officeNum
Course courses[3]
Course class
PayPal Gateway not configured
PayPal Gateway not configured