Employee Python

Download Category:

Employee.zip - (83.78 KB)
[
Employee/employee.docx
Employee/employee.py
Employee/Question.txt
Employee/Screenshot_1.jpg
]

Write pseudocode and implement a Python program for the following problem.
1. Read in: the name of an employee, followed by the number of hours worked by the employee (an integer that is guaranteed to be greater than 0), the pay rate of the employee (a float that is guaranteed to be greater than 0), and the tax rate (as a percentage) for the employee (again, a float that is guaranteed to be greater than 0).
2. Compute the total pay for the employee by multiplying the pay rate and the number of hours worked. Store the total pay in an appropriately-named variable.
3. Compute the tax withholding for the employee by multiplying the total pay by the tax rate divided by 100. Store the withholding in an appropriately-named variable.
4. Compute the net pay for the employee by subtracting the witholding from the total pay. Store the net pay in an appropriately-named variable.
5. Print the name of the employee, the number of hours worked, the pay rate, the total pay, the withholding, and the net pay

Write a Review

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.