Question: This code is for c++ In this assignment, you will be creating a list of people and their respective positions within a company (ownec, manapement,
In this assignment, you will be creating a list of people and their respective positions within a company (ownec, manapement, labor) Start ofl by creating a base clast called Person. This class should contain a name, social security number and birth date as wail as ihe appropriate accestors and mutatori. From the Person class, derive a Laborer class that also includes job, employee id, hourly salary and hours worked. (With accetsons and mudators) From the Person class, derve a Manager class that also includes department, employee id, salary (With accessons and mutators) From the Pertoon class, detive an Owner class that also includes the percentage of the business they own and the date they became an owner (With accessors and mutarion) For each of the dertued classes, also provide a function that describes what calegory the person is in (Laborer, Owner, Manager) Write a program that wili display a menu allowing the user to add laborert, managers and owners. As the user enters the informafion to each, it will be added to a vecter. Thare should be a menu option to display the vector which wil show all data for all entries in the vector. Checkout example6.C from the videos for an axample. Thare should adso be an option to qui
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
