Expert answer:payroll, programming homework help

Answer & Explanation:A local small business has hired you to write a payroll calculation program. The program only needs to calculate gross pay for an employee and display the results. Your program will accept the employee’s name, hours worked, and the employee’s pay rate. The program will need to calculate overtime as well. Overtime is defined as anything over 40 hours is paid at 1.5 times the regular pay. The program should print the employee’s name, the gross pay amount, and only if there was overtime, print the overtime pay amount as well. Finally, the program should repeat as necessary until the user enters a sentinel value.For this project:You will submit your python code in either the original .py file, or copied into a .txt file.A screenshot of your code having been executed (run). How to Take a ScreenshotTips: Remember to keep track of input data types when comparing values. input() formats the user’s data as a string, so comparing string data to a number without quotes would produce an error.Do not worry about

💡 Buy the answer for only $12 Get it now →

security, it is irrelevant here. Just focus on the functionality discussed above.Remember to follow the guidelines of good program design. Make sure to use meaningful variable names, include comments as needed, and provide thoughtful output.Example output:C:>python week2.pyABC Inc., Gross Pay Calculator!Enter employee’s name or 0 to quit: NathanEnter hours worked: 35Enter employee’s pay rate: 10.00Employee Name: NathanGross Pay: 350.0Enter next employee’s name or 0 to quit: TobyEnter hours worked: 45Enter employee’s pay rate: 10Employee Name: TobyGross Pay: 475.0(overtime pay: 75.0 )Enter next employee’s name or 0 to quit: 0Exiting program…Grading Criteria AssignmentsMaximum PointsProgram accomplishes requested operations per instructions.40Demonstrates proper use of the decision structure and program loops until user chooses to quit.40Meaning of the output is clear to the user (i.e. instructions for input and labels for output data are provided), and prints the gross pay, and only print the overtime is there is overtime.20

💡 Buy the answer for only $12 Get it now →