Employees who work more than 40 hours in a week are paid 50% overtime for each hour over 40 worked. So if Bob works 45 hours, makes regular wage on 40 hours of regular work and 1.5 times regular wage for 5 hours of overtime.
Your task is to develop an algorithm to compute the amount each person is paid.
I expect you to follow the example from class.