Question: write c++ code 2. In the database only three kinds of employees are represented. Managers manage, scientists perform research to develop better widgets, and laborers
2. In the database only three kinds of employees are represented. Managers manage, scientists perform research to develop better widgets, and laborers operate the dangerous widget-stamping presses. The database stores a name and an employee identification number for all employees, no matter what their category. However, for managers, it also stores their titles and golf club dues. For scientists, it stores the number of scholarly articles they have published and their title Laborers store the title only You must start with a base class employee. This class handles the employee's last name and employee number. From this class three other classes are derived: manager, scientist, and laborer. All three classes contains additional information about these categories of employee, and member functions to handle this information as shown in Figure employee -name - number Manager Scientist Laborer -title - club dues -title -publiction -title
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
