Question: This code os for c++ Business In this assignment, you will be ceating a list of people and their respective positions within a company (owner,
Business In this assignment, you will be ceating a list of people and their respective positions within a company (owner, management, laboe). Stat ofl by creating a base class called Person. This class should contain a name, social socurlify 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 ind mutatora) From the Person class, dertve a Manager class that also indudes department, employee id, saiary (Weh accessors and mutatori) From the Person class, derive an Owner class that also includes the percentage of the butiness they own and the date they became an ounar (With acceseors and ifutators); For each of the dertved classes, also provide a function that describes what category the person is in (Laborer, Owner, Manager) Write a program that wi display a menu aliowing the user to add laborens, managers and owters. As the user aniturs the information to each, it will be added is a vector. Thare should be a menu ogtion to display the vector which wit show all data for all entries in the vector. Checkout examples. Cfrom the videos for an axample. There ahould alto be an option to quit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
