shell program for paycode salary

February 29, 2012 at 19:17:47
Specs: Windows 7
Fast food restaurant that sells various types of vegetarian burgers for vegans. It pays its employees in weekly basis. It has managers (who receives a fixed weekly salary of RM500 per week), hourly workers (who receive a fixed RM500 for up to the first 12 hours they work and RM100 per hour for subsequent hours they worked in week), commission workers (who receive a RM250 plus 5.7% of their gross weekly sales), and cooks (who receives a fixed amount of money per item for each of the burgers they produce in a week). Write a UNIX shell 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 paycode 1, hourly workers have code 2, commission workers have code 3, and cooks have code 4. Use a case-logic structure to compute each employee’s pay based on that employee’s paycode. Within the case-logic structure prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program need to calculate each employee’s pay based on that employee’s paycode

See More: shell program for paycode salary

Report •

February 29, 2012 at 21:02:02
Why a shell? This requires a payroll and sales applications program solution.

Report •

March 1, 2012 at 05:24:44
Look at the language used. He has littterally copied and pasted his homework question.

How To Ask Questions The Smart Way

Report •

Related Solutions

Ask Question