Question: using python Exerciseit 1: Write a program that reads in the name and salary of an employee. Here the salary will denote an hourly wage,
Exerciseit 1: Write a program that reads in the name and salary of an employee. Here the salary will denote an hourly wage, such as $9.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 Sample Run Enter your name: Ahmad Enter your name AB Enter your salary 233 Enter your salary 45 Enter the number of woked hours 435 Enter the number of worked hours 20 45 Mi Ahmad, your payment is 105433 Mr All your payment is 34.57
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
