Implement function pay() that takes as input two arguments: an hourly wage and the number of hours
Fantastic news! We've Found the answer you've been seeking!
Question:
Implement function pay() that takes as input two arguments: an hourly wage and the number of hours an employee worked in the last week. Your function should compute and return the employee’s pay. Any hours worked beyond 40 is overtime and should be paid at1.5 times the regular hourly wage.
Related Book For
Probability & Statistics for Engineers & Scientists
ISBN: 978-0130415295
7th Edition
Authors: Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying
Posted Date: