Compute Results
If hours worked is greater than 40, then
Wages = 40 * pay rate + (hours – 40) * 1.5 * pay
rate
Otherwise
Wages = hours * pay rate