Answered step by step
Verified Expert Solution
Link Copied!

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 appreciateimage text in transcribed

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: 70

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

1. Let a, b R, a Answered: 1 week ago

Answered: 1 week ago