Question: Paycheck Application Python. Create the Paycheck Application. The application should read in the name and salary of an employee. Here the salary will denote an
Paycheck Application Python.
Create the Paycheck Application. The application should read in the name and salary of an employee. Here the salary will denote an hourly wage, such as $13.25. Then ask how many hours the employee worked in the past week. Be sure to accept fractional hours. Compute the pay. Any overtime work (over 40 hours per week) is paid at 150 percent of the regular wage. Print a paycheck for the employee.
SAMPLE RUN
Enter employee name: Mary Enter the hourly rate: 14.25 Enter the number of hours worked: 35
Employee: Mary The pay will be $498.75 for 35.0 hours of work.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
