Write a Java programme (named EmployeePay.java) that calculates the weekly pay for each of your employees based on the total number of hours they have worked in a week using the following guidelines. • All employees are paid a regular hourly rate of some amount. (Determine that amount in Ghana cedis) • Indicate the number of regular working hours for all employees in a week • Some employees occasionally work overtime and are supposed to be paid for the hours they have worked overtime. (Determine the overtime hourly rate in Ghana cedis. Note: Overtime hourly rate should be more than the regular hourly rate). • Employees can however only do a maximum of 2 overtime hours each day.
Write a Java programme (named EmployeePay.java) that calculates the weekly
pay for each of your employees based on the total number of hours they have
worked in a week using the following guidelines.
• All employees are paid a regular hourly rate of some amount. (Determine
that amount in Ghana cedis)
• Indicate the number of regular working hours for all employees in a week
• Some employees occasionally work overtime and are supposed to be paid for
the hours they have worked overtime. (Determine the overtime hourly rate in
Ghana cedis. Note: Overtime hourly rate should be more than the regular
hourly rate).
• Employees can however only do a maximum of 2 overtime hours each day.
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 5 images