Question: This code is for c++ Business In this assignment, you will be creating a list of people and their respective positions within a company (owner,
Business In this assignment, you will be creating a list of people and their respective positions within a company (owner, management, labor). Start of by crealing a base class called Person. This class should contain a name, social security number and birth date as well as the appropriate accessors and mutators. From the Person class, derive a Laborer class that also includes job, employee id, hourly salary and hours worked. (With accessors and mutators) From the Person class, derive a Manager dass that also indudes department, employee id, salary (With accessors and mutators) From the Person dass, derive an Owner class that also includes the percentage of the businoss they own and the date they became an owner (With accessors and mutators) For each of the dertved classes, also provide a function that describes what category the person is in (Laborer, Owner, Manager) White a program that waldsplay a menu allowing the user to add laborers, managers and owners. As the user enters the information to each, it will be added to a vector. There should be a menu option to display the vector which will show all data for all entries in the vector. Checkout example6. C from the videos for an example. Thero should also be an option to quat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
