Question: Python Code-50 points Note: You just need to submit a working.py file, you do not need to submit any program documentation. Design a functionalized program

Python Code-50 points Note: You just need to submit a working.py file, you do not need to submit any program documentation. Design a functionalized program to do the following: A program is needed to calculate payroll for the employees at the Blamo Toy Company. Input to the program should be the employee's name, the number of hours the employee has worked in the previous week, and the hourly wage for the employee. Pay is calculated by multiplying the hours worked times the employee's wage with any hours worked over being paid at time-and-one-half. After processing an employee's pay, the program should display the employee's name and the total amount of pay he/she has earned for the current week The program should continue to input and process pay until the user enters a value of "XX" for the employee name. After all of the employees' pay has been calculated, the progranm should display the total number of employees, the total dollar amount of all of the employees' pay, and the average amount of pay that employees have earned during the past week. All output should be displayed using appropriate formatting. Your program should include the following functions-you may wish to include additional functions as well main -controls all of the processing within the program. input hours - inputs the number of hours an employee has worked during the past week, verifies the numbers of hours worked are between 0 and 100, and returns the hours worked to the calling function. input wage-inputs the hourly wage for an employee, verifies that the value entered is between $15.00 and $65.00, inclusive, and returns the value to the calling program find pay- accepts the number of hours worked and the hourly wage from the calling program,returns the amount of pay the employee has earned for the wee
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
