Question: Write a program to compute the weekly pay for each employee. You do not know the number of employees in advanced ( maybe make a

Write a program to compute the weekly pay for each employee. You do not know the number of employees in advanced (maybe make a menu for the user). Each type of employee has it's own pay code: Managers have pay code 1, hourly workers have pay code 2, commission workers have code 3 and pieceworkers have code 4. Use a switch statement to compute each employee's pay based on their employee's pay code. Within the switch prompt the user (.i.e the payroll clerk) to enter the appropriate facts for your program needs to calculate each employee's pay based on that employee's pay code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!