Answered You can hire a professional tutor to get the answer.

QUESTION

Your program should also find the average net pay for a small company.

Need help creating an Employee class for a basic payroll program to compute the net pay salary of hourly based employees. Your program should also find the average net pay for a small company. To define the class, include the appropriate data members, member functions, and access modifiers. For simplicity, use a constant tax rate of 30% to compute the tax amount. Employees that work over 40 hours will receive overtime pay of one and a half of their hourly rate for overtime hours worked. The output should display the name of each employee, hours worked, hourly rate, overtime pay, regular (gross) pay, tax amount, and net pay. The average net pay of all employees should also be displayed.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question