Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Please create a Python program that calculates the take-home pay for an individual. The program must ask for the user's First name and the

image text in transcribed
1. Please create a Python program that calculates the take-home pay for an individual. The program must ask for the user's First name and the hourly pay rate for hours worked during the week. The program must also ask for overtime hours to be calculated at 1.5 times regular pay. Calculate the gross weekly pay and figure in the following taxes: a. FICA=6.2% b. Medicare Tax=1.45% c. State Tax=4.25% d. Federal Tax =24% e. City Tax=0.9% f. Park Tax =0.6% Print out the totals at the bottom of the program, along with the total home pay for the user. - Must use constants and comments within your code * 2. Please create a python program that will ask the user for the gas mileage on a given car (i.e., 24 MPG) and how far they plan on traveling (i.e., 125 miles). Calculate the expenses incurred on a trip with gas costing $3.49 per gallon. a. Display the result to the user on how much the trip will cost

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions