Write a Python program that reads the following information from user
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Write a Python program that reads the following information from user

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

Hint
ComputerPython is a powerful general-purpose programming language. It is used in web development, data science, creating software prototypes, and so on. Fortunately for beginners, Python has simple easy-to-use syntax. This makes Python an excellent language to learn to program for beginners....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.