subject

[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.)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:50
Click on this link toopens a new window. bring up a flowchart in a new browser window. based on this flowchart, would a d-link 3347 gateway with an xbox 360 multiplayer problem be in scope or out of scope
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Word vocabulary words: print, proofread, status line, graphics, font effects, left margin, justification, line spacing, copy/paste, data. review words: font point, bold, save, center, error. fill in the correct word for the definition and then transfer the letters to the appropriate spot by number. some numbers will be found multiple times. you will end up with a quotation about…… what else? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 k 16 17 18 19 20 21 22 23 24 25 8 27 28 29 w 31 32 k 34 35 36 w h 39 40 41 42 8 44 45 46 47 48 49 50 51 52 53 54 55 .1. a software function that records keystrokes on a disk or drive so information can be 5 4 52 9 later retrieved. p n 2. to produce a paper copy of information. 10 7 12u n 3. a display that shows the location of the cursor, pages, etc. 45 46 18 27 36 20 42p4. pictures or images, located in clip art or other files. 6 24 44 28 34 49 555. any mis-stroke of a key. 47 41 48 2 10 n6. allows major changes to the font such as shadow, emboss, etc. 21 25 46 35 23 21 29 14 22 17 n7. a feature that centers lines of text horizontally. 49 53 46 9 51 p8. size of the font 31 16 22 b l 9. a feature that prints designated text darker than the rest to add emphasis. 32 3 . p10. to compare copy on a display screen or printout to the original 24 39 25 23 54 9 50 3 and correct errors. j un 11. a feature that allows text to be aligned at the left 11 12 7 21 16 49 40 46 34 2 and right margins. leftn 12. amount of blank space on the left side of the paper. 8 18 41 6 34 linen 13. number of blank lines between lines of text. 17 4 49 13 1914. any information inputted into the computer. 3 4 46 44 p /p15. feature that duplicates text from one location and places it in another.
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
You know the right answer?
[12] write a c++ console application that calculates the federal tax. the tax is calculate as follow...
Questions
question
Mathematics, 06.10.2021 18:50
question
Computers and Technology, 06.10.2021 18:50
question
Mathematics, 06.10.2021 18:50
question
Mathematics, 06.10.2021 18:50
question
History, 06.10.2021 18:50
question
Physics, 06.10.2021 18:50
Questions on the website: 13722363