Question: Need impletation through code for HourlyEmployee.h , HourlyEmployee . cpp , CommissionEmployee . h , CommissionEmployee . cpp . Employee classes: o Employee, SalariedEmployee, HourlyEmployee,
Need impletation through code for HourlyEmployee.h
HourlyEmployeecpp
CommissionEmployeeh
CommissionEmployeecpp
Employee classes:
o Employee, SalariedEmployee, HourlyEmployee, CommissionEmployee
SalariedEmployee: earnings
weekly salary
HourlyEmployee: if hours
earnings
wage
hours;
if hours
earnings
wage
hours
wage
CommissionEmploye: earnings
commissionRate
grossSales
Each employee has three bank accounts:
checking accounts and
savings account or
savings
and
checking accounts.
Use an array or a vector to store bank accounts.
The implementations of earnings
and print
functions cannot be decided in the Employee class.
The print
function will print employee's name, ssn
earnings and also all three accounts.
information including balance, interest rate, number of deposits and withdrawals.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
