Question: NEED TO USE PYTHON PLS HELP!! Exercise 3. Write a program to calculate a person's weekly wage. The user should be asked to input the

NEED TO USE PYTHON PLS HELP!!
NEED TO USE PYTHON PLS HELP!! Exercise 3. Write a program to

Exercise 3. Write a program to calculate a person's weekly wage. The user should be asked to input the number of hours worked, the normal hourly rate of pay and the overtime hourly rate of pay. A normal working week is 40 hours and if an employee works less than 40 hours, pay is deducted at the overtime rate. This may seem a little unfair but it enables the calculation to be done in ONE simple command without the need to test whether the number of hours worked is greater or less than 40 (using commands we have not met yet). Include appropriate print statements to provide a summary of the hours worked, the normal and overtime hourly rates and the person's weekly wage. It is recommended to use more than one print statement in order to obtain an easier to read summary on several lines. Your program should also include suitable comments. Run your program with 11.30 as the normal hourly rate of pay, 16.60 as the overtime hourly rate and for 30, 40 and 50 hours

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!