4 - If an employee is paid hourly, he is paid a fixed amount for every hour of work. So, if he gets paid $15.00 an hour, and he works eight hours his gross pay is $120.00. An hourly employee’s gross pay must be calculated on a weekly basis because of a Rule called overtime, the federal government’s Fair Labor Standards Act states that for overtime an employee must receive overtime pay for hours worked over 40 in a work week at a rate not less than 1.5 times regular rates of pay. Write a python program that ask for the hourly pay rate and the number of hours worked in a week by the employee and calculate it’s pay accordingly. If the employee worked overtime, he should be paid 1.5 times regular rates of pay for every exceeding hour. Don't use built-in methods
4 - If an employee is paid hourly, he is paid a fixed amount for every hour of work. So, if he gets paid $15.00 an hour, and he works eight hours his gross pay is $120.00. An hourly employee’s gross pay must be calculated on a weekly basis because of a Rule called overtime, the federal government’s Fair Labor Standards Act states that for overtime an employee must receive overtime pay for hours worked over 40 in a work week at a rate not less than 1.5 times regular rates of pay. Write a python program that ask for the hourly pay rate and the number of hours worked in a week by the employee and calculate it’s pay accordingly. If the employee worked overtime, he should be paid 1.5 times regular rates of pay for every exceeding hour.
Don't use built-in methods
Step by step
Solved in 2 steps