ame, address, city, zip, phone number, email, hourly rate, start date, end date, and number of hours worked. The program must consist of three classes, each one in its own file (I.e. Employee.java, PayPeriod.java) and called back to a main.java file. Classes named Employee, PayPeriod, and Payroll Manager. Employee gathers the info about the employee. PayPeriod gathers the payment info. PayrollManager computes and displays the info. PayrollManager should also use methods such as: double CalculateGrossPay(Employee,
In Java, create a
output:
------------------------------------------
Employee ID: 123456
Last Name: last First Name: first
Hours Worked: 50 Hourly Rate: $10.00
Regular Pay: 40 hours at $10/hr: $400.00
Overtime Pay: 10 hours at $15/hr: $150.00
Gross Total: $550.00
------------------------------------------
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images