Write a program that does the following in order: 1. Asks the user to enter a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Bradley-Link's December 31, 2024, balance sheet included the following items: Long-Term Liabilities 10.0% convertible bonds, callable at 105 beginning in 2025, due 2028 (net of unamortized discount...
-
In the figure, a circular cross-section rod with a diameter of 4 cm, made of material with number 1, is placed inside the pipe produced from material with number 2. The entire system is mounted on a...
-
Prepare the schedule of year-end deferred tax assets and liabilities for each year. The schedule should separately list the sources of the firms ending deferred tax assets and deferred tax...
-
Post an analysis of the risks and benefits of integrating a positive social change mission into organizational strategic planning. Your analysis should include the following: What are the benefits...
-
Explain the notation \(f(x)\).
-
Let \(f(z)=u+i v\) be differentiable. Consider the vector field given by \(\mathbf{F}=v \mathbf{i}+u \mathbf{j}\). Show that the equations \(abla \cdot \mathbf{F}=\mathbf{0}\) and \(abla \times...
-
Colonial State College is considering building a new multipurpose athletic complex on campus. The complex would provide a new gymnasium for intercollegiate basketball games, expanded office space,...
-
The following data were adapted from a recent income statement of Caterpillar Inc. (CAT) for the year ended December 31: (in millions) Sales Cost of goods sold $41,748 $(29,082) Selling,...
-
Think of a question that youd like to know the answer to that might be answered with a survey. What are the questions? Identify the variables and answer the questions above.
-
Swifty Corporation has 10000 units in beginning finished goods. The sales budget shows expected sales to be 36000 units. If the production budget shows that 42000 units are required for production,...
-
Your house foundation and basement floor are made up of 1000ft 3 of concrete. About how many Btu are required to raise the temperature of this mass from 0 degrees C to 40 degrees C? Given 22 Btu/ft 3...
-
Executive salaries are charged to three operating divisions on the basis of capital investment in the three divisions. If the investment is $13.6 million in the Northern Division, $10.2 million in...
-
You are holding a 5.0-kg gold bar under water. How heavy does it feel? (i.e. What is the bar's weight under water?) The density of water is pw = 1000 kg/m3 and the density of gold is pG = 19,300...
-
Espresso Express operates a number of espresso coffee stands in busy suburban malls. The fixed weekly expense of a coffee stand is $2,100 and the variable cost per cup of coffee served is $0.52....
-
Fixed cost per unit is $7 when 25,000 units are produced and $5 when 35,000 units are produced. What is the total fixed cost when nothing is produced?
-
DRG 684: Renal failure w/o CC/MCC Reimbursement per Case: $2,725 Number of Errors: 75 Discharges: 122 Cases with Errors Increasing Reimbursement: 52 Cases with Errors Decreasing Reimbursement: 23 how...
-
Do the three planes x + 2x + x 3 = 4, X X 3 = 1, and x + 3x = 0 have at least one common point of intersection? Explain.
-
Calculate the amount of the child and dependent care credit allowed for 2012 in each of the following cases, assuming the taxpayers had no income other than the stated amounts. a. William and Carla...
-
Teresa is a civil engineer who uses her automobile for business. Teresa drove her automobile a total of 21,732 miles during 2012, of which 95 percent was business mileage. The actual cost of...
-
Sophie is a single taxpayer. For the first payroll period in October 2012, she is paid wages of $3,250 monthly. Sophie claims three allowances on her Form W-4. a. Use the percentage method to...
-
What forensic technique was used by CocaCola to prosecute the secretary who was convicted for attempting to sell product information to Pepsi? a. Invigilation b. Interviews c. Videotape d. Net worth...
-
\( \qquad \) refers to a company pulling revenues into the distribution channel fraudulently. a. Constructive intent b. Channel stuffing c. Gaming strategy d. Big bath e. Double play
-
The \( \qquad \) theory says that covert aspects of fraud may be as important as overt aspects. a. Backdating b. Invigilation c. Graphology d. Iceberg e. Game
Study smarter with the SolutionInn App