Question: Write a program that simulates the printing of a paycheck. Ask the program user for the name of the employee, the hourly rate, and the
Write a program that simulates the printing of a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceed 40, the employee is paid time and a half, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwise refinement and break your solution should have several functions. Use the given intName.py file to print the dollar amount of the check. A sample run is shown below. Name your file as check.py Enter the name of the employee: Yogi Bear Enter the hourly pay rate: 50.77 Enter the hours worked: 60 ABC Solutions, 888 First Street, Kamloops. BC, Canada, V2C1K1 Pay Amount is: $3,553.90 Three thousand Five hundred Fifty Three and 90/100 To the order of: Yogi Bear
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
