Question: JAVA PROGRAMMING NetBeans A) A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates
JAVA PROGRAMMING NetBeans
A)
A Small supermarket employs workers who are paid every end of week. According to the one of the three hourly rates depending on their position (or Skill Level).

Each worker might work any number of hours per week; any hour over 40 are paid at one and half rate. In addition workers in position Admin/A1 and Worker/W1 can choose to participate in the following inssurance options:

Also, the Admin/A1 can choose to participate in the retirement plan at 4.25% of their gross pay. The following table summarise who is authorized to participate in insurance and retirement plans

Write an interactive Java payroll application that calculates the net pay for a worker. The program propmpts the user for: the Worker name, skill level (A1,W1,W2) and hours worked, as well as appropriate insurance and retirement options if available for the wrokers position. The application must display: 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). Use the following template for the output of your programe.
Output Sample: (on Screen)
Input Sample: Lab.txt
Ahmad Nacer A1 44 Y Y N Y
Ahmad Shamisi A1 70 Y Y Y Y
Ali Badr W1 60 Y Y Y Y
Mustafa Kamel W2 30 N Y Y N
Hamad Ibrahim W2 50 Y Y Y Y
--------------------------------------------------------
B)
Refering to (A): Create a class Employee with all the necessary elements: Member variables Methods to calculate Pay Tostring that generate the following output:
Test your class by reading employee info from Lab.txt. C)
Create a a GUI for the Employee Payroll Application based on the following design:

Use the class Employee to create an generate the Payroll elements. Generate a file with Employee Name: name.txt that contains the Payroll output as mentioned in the first Exercise
Position/Skill LevelHoursly rate (dirham) Admin/ A1 Worker/ w1 Worker/ w2 80 40 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
