Menu

[Solved]Garment Manufacturer Requires Program Calculate Payroll Piecework Employees Piecework Empl Q37213376

A garment manufacturer requires a program to calculate thepayroll of his piecework employees. A piecework employee receives aguaranteed wage, which is based on the seniority of the person.However, a worker can receive incentive pay instead of theguaranteed wage. Incentive pay is determined by the number of unitsthe worker produces. For all units produced up to and including100, the incentive pay is $3.50 per unit. For all units produced inexcess of 100 the incentive pay is $4.50 per unit. An employeecannot receive both a guaranteed wage and incentive pay. Instead,an employee receives the greater of the two. Write a program tocompute the payroll.

The program shoulduse a function to obtain the employee’s guaranteed wage and afunction to obtain the number of units produced. Use a function tocalculate the pay based on the guar­anteed wage and the number ofunits produced. Finally, use a function to display the em­ployee’swage and whether it is the guaranteed wage or the incentive pay.The program should process any number of employees

Expert Answer


Answer to A garment manufacturer requires a program to calculate the payroll of his piecework employees. A piecework employee rec… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *