Description: Build a said employees of the employee information, including data member name, empNo and salary, respectively, said the names of the employees, Numbers and salary. Again from employee derived class 3 class worker, technician and salesman, on behalf of the ordinary workers and scientific research personnel, sales personnel. Three class contains data respectively productNum members, workHours and monthlysales, on behalf of the workers, the number of monthly production products scientific research personnel monthly work hours and sales personnel monthly sales. Requirements of all kinds contain pay member function that is used to calculate employees of monthly salary, and assume that:
The ordinary workers salary monthly production product number = × each product x 20 profit
Scientific research personnel salary = monthly working hours per hour of work reward ×
The sales staff salary = monthly sales × sales commissions.
To Search:
File list (Check if you may need any files):
a.cpp