Exercise #2: ITBP119 Company runs a small factory. The employs worker who are paid one of the three hourly rates dependi
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am
Exercise #2: ITBP119 Company runs a small factory. The employs worker who are paid one of the three hourly rates dependi
Company runs a small factory. The employs worker who are paid one of the three hourly rates depending on skill level. Skill Skill Hours rate Overtime Medical Dental Disability Retirement level level (dirham) rate Ins Ins Ins 1 30 45 N N N N 2 40 60 Y Y Y N 3 50 75 Each factory worker might work any number of hours per week; any hour over 40 are paid at one and one-half rate. In addition workers in skill levels 2 and 3 can choose to participate in the following inssurance options: Option Exlanation Weekly Cost to Employee (dirham) 60 1 2 Medical Inssurance Dental Inssurance Disability Inssurance 40 3 25 Also, worker in skill level 3 can choose to participate in the retirement plan at 3% of their gross pay. Write an interactive Java payroll application that calculates the net pay for a factory worker. The program propmpts the user for: skill level and hours worked, as well as appropriate insurance and retirement options for the wroker's skill level. The application displays: 1) hours worked, 2) hourly rate, 3) regular pay for 40 hours, 4) overtime pay, 5) total pay, 6) total deductions, 7) the net pay (total pay-total deductions).
Exercise #2: ITBP119