Question: Write a pay computation program that gives the employee 1 . 5 times the ho rate for hours worked above 4 0 hours ( and
Write a pay computation program that gives the employee times the ho rate for hours worked above hours and the regular rate for less than hours The hours and rate should be taken as input from the user.
Note that the default input from the user is always a string data type.
Enter Hours:
Enter Rate:
Pay:
Rewrite your pay program using try and except so that your program handle nonnumeric input gracefully.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
