Payroll Calculation Program Project 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.
Payroll Calculation Program Project
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.
Payroll Calculation Program Project 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 Screenshot
Tips: 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.
Payroll Calculation Program Project
Do not worry about 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.
Payroll Calculation Program Project Example output:
C:\>python week2.py
ABC Inc., Gross Pay Calculator!
Enter employee’s name or 0 to quit: Nathan
Enter hours worked: 35
Enter employee’s pay rate: 10.00
Employee Name: Nathan
Gross Pay: 350.0
Enter next employee’s name or 0 to quit: Toby
Enter hours worked: 45
Enter employee’s pay rate: 10
Employee Name: Toby
Gross Pay: 475.0
(overtime pay: 75.0 )
Enter next employee’s name or 0 to quit: 0
Exiting program…
Grading Criteria Assignments Maximum Points
Payroll Calculation Program Project Instructions
Program accomplishes requested operations per instructions. 40
Demonstrates proper use of the decision structure and program loops until user chooses to quit. 40
Meaning 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 Your payroll expenses have implications for your small business beyond deducting them from your taxable income.
Payroll Calculation Program Project
You need to know how to allocate payroll to find out how much labor on project costs, how much each department is spending on payroll and how much you are paying in payroll taxes. If you have a specific project you have completed, you need to know how much the labor on that job cost you. Examine all the employees that worked on that project and allocate their wages, plus payroll taxes, to that job. You can do this by entering all of the employee names under a “class” in your accounting software.
We can write this or a similar paper for you! Simply fill the order form!