Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ code - You have been hired by Q8Fashion Co. to design and implement their IT system. - They told you that the system should
c++ code
- You have been hired by Q8Fashion Co. to design and implement their IT system. - They told you that the system should record the information related to their Customers, and Employees. - Every Person in the system should contain the following basic information: Name, Email, and Gender. - For Customers, you should record the Name, Email, Gender, Delivery Address. - For Employees you should record the Name, Email, Gender, and Salary. - For Driver Employees you should record the Name, Email, Gender Salary, Driving License Number, and Number of Deliveries. - For Managers you should record the Name, Email, Gender, Salary, and Annual Bonus Amount. - You should note that there are Driver Managers who are Drivers and Managers at the same time. - Draw an inheritance Hierarchy (/0.5) - Code the Main Classes using the minimum number of Classes (Hint: use inheritance) (/0.75) - Generate Getters and Setters (/0.75) ng namespace std; ss Person private: string Name; string Email; string Gender; public: void setName(string n)\{ Name = n; } void setEmail(string n)\{ Email = n; } void setGender(string n)\{ Gender =n;} string getName()\{ return Name; } string getEmail()\{ return Email;; string getGender()\{ return Gender; }Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started