A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and “time-and-a-half” 1.5 times...

1 answer below »
A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and “time-and-a-half” 1.5 times their hourly wage for overtime hours worked), commission workers (who receive 250 ETB plus 5.7 percent of their gross weekly sales), or pieceworkers (who receive a fixed amount of money per item for each of the items they produce each pieceworker in this company works on only one type of item). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has its own pay-code: Managers have code C1, hourly workers have code C2, commission workers have code C3 and pieceworkers have code C4. Use more appropriate selection structure to compute each employee’s pay according to that employee’s pay-code. The program should prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program needs to calculate each employee’s pay according to that employee’s pay-code. Finally, the program prints the weekly pay of the employees in tabular format. Also the program allows the user to search for specific record.
Answered 222 days AfterJun 26, 2021

Answer To: A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who...

Neha answered on Jan 04 2022
119 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here