Question: python code needed pls help.... majorly Problem #4: Compute an employee's total weekly pay. Write a program that takes as inputs the hourly wage, total
Problem #4: Compute an employee's total weekly pay. Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and dimplays an employee's total weekly pay An employee's total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay Overtime pay oquals the total overtime hours multiplied by 15 times the hourly wage Use round to round the output to 2 decimal places use Input(to prompt the user to enter the required valves In [42] Request the truts print("hourlywe:) hourlywageInt(input) print("total regular hours :") regular hours float(input()) print("total overtime_hours" overtime_hours float(Input()) overtine Day overtime hours 1.5 hourly age total weekly pay-hourly (regular hours) overtine_day compute the result (total weekly pay) Display the result print (round(total_weekly pay,2)) hourly age: 12 total regular hours 1 8.0 total overtime hours 9.0 Usage reor: Line magic function total weekly pay}" not found
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
