Project 1: Payroll Calculator
• Learning Objective: Using Basic Python Input Output and Arithmetic Statements
Problem Description:
Write a Python program that reads the following information from user, and prints a payroll statement:
Employee’s name (e.g., Smith)
Number of hours worked in a week (e.g., 10)
Hourly pay rate (e.g., 60.75)
ATO tax withholding rate (e.g., 30%)
Medicare Levy rate (e.g., 2%)
Here is an example of Program Output:
Enter employee's name: John Smith
Enter number of hours worked in a week: 10
Enter hourly pay rate: 60.75
Enter ATO tax withholding rate: 0.30
Enter Medicare Levy rate: 0.02
Employee Name: Smith
Hours Worked: 10.0
Pay Rate: $60.75
Gross Pay: $607.50
Deductions:
ATO tax (30.0%): $182.25
Medicare Levy (2.0%): $12.15
Total Deduction12: $194.3
Net Pay: $413.20
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.