Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using python, write a program for a financial application: payroll. The program should read the following information and print a payroll statement: Employee's name (

Using python, write a program for a financial application: payroll. The program should read the following information and print a payroll statement:
Employee's name (e.g., Smith)
Number of hours worked in a week (e.g.,10)
Hourly pay rate (e.g.,9.75)
Federal tax withholding rate (e.g.,20%)
State tax withholding rate (e.g.,9%)
Hints:
Gross pay= hours * payrate
FTWH = Gross pay * FTWHR
STWH = Gross pay * STWHR
Total taxes =FTWH + STWH
Net pay= Gross pay - Total taxes
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions