Question: code is for c++ and please complete the whole code. for some reason people keep leaving it at half. Thanks! Business In this asbignmert, you
Business In this asbignmert, you wil be creating a list of people and their respecthe poofions within a compary (owner, managemant, labor. From the Perscon class, derive a Labocer class that also inciudes jot, employee id, houly saiary and hours worke. (Win accessors and muator) From the Person ciast, derive a Manager dass that also includes departitent, anployee ld, salay (Win acoessors and enulabor) From the Person dass, denve an Ownet dass that also incluces the percentage of the business they own and the date ihey became an ewner (Wien accesin and metatora) For eash of the derised ciasses, aiso provide a function that describes what cabegory the peresen is in (Laterer, Owerer, Mansger) nel show all data tar alf entres in the vectoc Checkovt exampleb. C from the videos for an example. There shocld abo be an cption to ut. gusiness le tuis assignment, you wit be creating a list of people and their respective postions within a compary (owner, management, labor) From the Person clats, derive a Laberer clans that dso includes job, employe id, heurty salary and hours worked. (With accessors and mutators) From the Porson dass, dedve a Macager dass that also inchedes desartment, enployee id, salary (With acoesson and mutaber) For each of the dedied disses, aso proube a Sunction that dencibes whiat calegory be genion is in (labore, Ownec Maragor)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
