Answered step by step
Verified Expert Solution
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 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started