Use c++ code!!! try to make code simple c++ question. One educational company wants to build a database of its employees. The database is divided into a number of classes (Staff, Lecturer, Executive, Education, Worker, Permanent, and Temporary) whose hierarchical relationships are shown in following figure. The figure also shows the minimum information required for each class. The class Temporary has two private members wagePerHour and hour. The salary is calculated as wage * hour. Create all classes and define functions to create the database and retrieve individual information as and when required. Write a driver program to test the class Lecturer, Executive, Permanent, and Temporary. one example format for output as attached
Use c++ code!!! try to make code simple
c++ question. One educational company wants to build a
![Lecturer
subject
faculty
Education
qualification
Executive
grade
Permanent
wage
Staff
name
age
staffID
gender
Worker
department
Temporary
wagePerHour
hour](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdf7e432f-d8a7-4405-b581-b444bad9ef3d%2F46a943d2-42e8-4bb2-83e6-313ff6bd77d5%2F8kmqf7p_processed.png&w=3840&q=75)
![===Lecturer===
Name :
Staff ID :
Subject:
Faculty :
Qualification :
===Executive
Name :
Staff ID:
Grade :
Qualification :
Gender :
Officer===
Gender :
Department :
Wage:
===Permanent Worker===
Name :
Gender :
Staff ID:
===Temporary Worker ===
Name :
Gender :
Staff ID:
Department :
Wage:
Age :
Age :
Age :
Age :](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdf7e432f-d8a7-4405-b581-b444bad9ef3d%2F46a943d2-42e8-4bb2-83e6-313ff6bd77d5%2Ff7jfuqi_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)