Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!