Ryan02717
09.07.2019 •
Computers and Technology
[12] write a c++ console application that calculates the federal tax. the tax is calculate as follows: • for single people, the standard tax exemption is $4,000; • for married people, the standard tax exemption is $7,000. a person can also put up to 6% of their gross income in a pension plan. the tax rates are as follows, by taxable income: a) between $0-15,000 – the tax rate is 15%; b) between $15,001-40,000 – the tax is $2,250 plus 25% of the taxable income over $15,000; c) over $40,000 – the tax is $8,460 plus 35% of the taxable income over $40,000. prompt the usr to enter the following information: • marital status if the marital status is "married", ask for the number of children under the age of 14 • gross salary (if the marital status is "married" and both spouses have income, enter the combined salary) • percentage of frosse income contributed to a pension fund your program must consist of at least the following functions: a) getdata: this function asks the user to enter the relevant data; b) taxamount: this function computes and returns the tax owed. to calculate the taxable income, subtract the sum of the sandard exemption, the amount contributed to a pension plan, and the personal exemption, which is $1,500 per person. (note: if married couple has two children under the age of 14, then the personal exemption is $1,500*4 = $6,000.)
Solved
Show answers
More tips
- S Society and Politics Is It Fact or Fiction? Let s Talk About Anton Chekhov s Pseudonym...
- S Sport Playing Bowling: Rules and Advice for Novices...
- C Computers and Internet How to Properly Repartition a Hard Drive?...
- A Auto and Moto What Is the Cost of Customs Clearance for a Car in Russia?...
- L Leisure and Entertainment Should You Buy a Ceramic Knife?...
- C Computers and Internet How to easily and quickly disable Firebug in Gmail and Google Docs...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
- F Food and Cooking Everything You Need to Know About Pasta...
Answers on questions: Computers and Technology
- C Computers and Technology HOW DO YOU BEAT 50/50 ASAP!...
- C Computers and Technology Processor speeds are in bytes. True or False...
- C Computers and Technology What is the last word of the first sentence In the article? Zoom in or out On your computer, open a document in Google Docs or a spreadsheet in Google Sheets. In the toolbar,...
- C Chemistry What quantities will you need to measure to determine the specific heat of one of these liquids?...
- M Mathematics The graph of y=f(x) is shown below. Which point could be used to find f(1)?...
- M Mathematics Write an equation for a polynomial with the following properties: it has even degree, it has at least 2 terms, and, as the inputs get larger and larger in either the negative...
- M Mathematics On a map, 4cm=15km. If cities were 10cm apart on the map, how many km away are they in reality?...
- S Social Studies Describe preindustrial societies of horticulturalists? (sociology)...
- M Mathematics Express the set using the roster method. {x|x is a day of the week that begins with S} I. Choose the correct answer below. A. {Saturday} B. {Saturday, Sunday} C. {Sunday,...
- C Chemistry Refer to Part A of the HR Diagram Lab. Which option correctly lists the stars in order from the coolest to the hottest star. Star colors Question 7 options: Star A, Star...
Ответ:
the server would not be working.