Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write this program in python!! Data to be input: Employee Name (first& last) Number of hours worked Hourly pay rate Married or Single (to determine

Write this program in python!! image text in transcribed
Data to be input: Employee Name (first& last) Number of hours worked Hourly pay rate Married or Single (to determine Federal tax rate)* State tax rate "Married tax rate 10%, Single tax rate 15% (use decision statement to test first letter only, make sure to change the capitalization to what you are testing). You may also want to use the Round function. Determine Access Code: Create and combine the following 3 strings to determine Access Code. You will use string functions, methods, and operators for this. String 1. Use integer division to divide the length of the name string by 3. Use the portion of the name that starts at that position number, and includes up to the character in position 7 (see 2 examples below) String 2. Use the last 3 letters, in upper case String 3. Use the min and max l Sample input and output Enter employee"s nane (first and 1lest)sSoooby Doo Enter nunber of hours worked this week: 34 Enter hourly pay rate: 22-85 Pleose enter Single or Married: Enter atate tax withholding zate:-05 Employee Nanes Boooby Doo Hours Worked: 34 Pay Rate1 $12.5 Gross Pays $436.90 Federal ithholding (15%); $65.53 tate ithho1ding (58): $22-84 Total Deduction: 87.37 Scooby Doo net pay check: $349.53 Enter employee's name (eirst and lest)s mes Nadison Enter nunber of hours worked this weeks 23 Enter hourly pay rate: 27. ried: M Enter state tax withholding rate: .s EnpLoyee Nane: Janes Madison Hours Worked: 11 Pay Rate: 27-50 Gross Fay: $302.50 Dedactiona: Federal Withholding (10%): 30.25 State Withholding (50%); $131.25 Total Deduation 5181.50 ames Nadison net pay check: $121.00

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

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions

Question

=+ Are there additional forms of employee representation?

Answered: 1 week ago

Question

=+What is the nature of their impact?

Answered: 1 week ago