Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ansswer this question with explanation and i will appreciate Write a C++ program as specified below: I- Design a Base employee class basicInfo with data
Ansswer this question with explanation and i will appreciate
Write a C++ program as specified below: I- Design a Base employee class basicInfo with data members name, ID and gender, and one member function getBasicInfo to read employee's basic information. II- Design a Base department class deptInfo with data members deptName and jobTitle, and one member function getDeptInfo to read employee's department information. III- Design a derived class employee which inherit basicInfo and deptInfo with two member functions getEmployeeInfo and printEmployeeInfo. IV- Output sample as shown: Output Enter employee's basic info: Enter Name: Mickey Enter Emp. Id: 1121 Enter Gender: F Enter employee's department info: Enter Department Name: Testing Enter assigned work: Test Game OEM Enter time in hours to complete work: 70 Employee's Information is: Basic Information...: Name: Mickey Employee ID: 1121 Gender: F Department Information...: Department Name: Testing Assigned Work: Test Game OEM Time to complete work: 70Step 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