akosiraff

Download Employee Python Answer

Jul 31st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/employee-python/
  3. Write pseudocode and implement a Python program for the following problem.
  4. 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).
  5. 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.
  6. 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.
  7. 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.
  8. 5. Print the name of the employee, the number of hours worked, the pay rate, the total pay, the withholding, and the net pay
  9. Download: https://solutionzip.com/downloads/employee-python/
Add Comment
Please, Sign In to add comment