Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that does the following in order: 1. Asks the user to enter a name 2. Asks the user to enter a

Write a program that does the following in order: 1. Asks the user to enter a name 2. Asks the user to enter

Write a program that does the following in order: 1. Asks the user to enter a name 2. Asks the user to enter a number "gross income" 3. Asks the user to enter a number "state tax rate" 4. Calculates the "Federal Tax", "FICA tax" and "State tax" 5. Calculates the "estimated tax" and round the value to 2 decimal places 6. Prints values for "name", "gross income" and "estimated tax" The program should contain three additional variables to store the Federal tax, FICA tax, State tax, gross income, and estimated tax. Federal Tax = gross income *9.45% FICA Tax = gross income *7.65% State Tax = gross income your state tax percent Estimated Tax = Federal tax + FICA tax + State tax NOTE: Percentages must be converted to decimal values, for example: 15.9 % 15.9 0.01=0.159 An example of the program's input and output is shown below: Enter your name: Belinda Patton Enter your gross income: 53398.12. Enter your state income tax rate: 4.27

Step by Step Solution

3.42 Rating (152 Votes )

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

Considering the discussion in Box

Answered: 1 week ago

Question

Compare and contrast licensing and subcontracting.

Answered: 1 week ago