Question: Please I need the right answer I have submitted 10 times and I haven't got the right answer.thanks Pad 10:50 PM Documents Undo You are
Please I need the right answer I have submitted 10 times and I haven't got the right answer.thanks Pad 10:50 PM Documents Undo You are to write a C++ program to compute federal personal income taxes. Program is to have no global variables. Use the concepts we have encountered in the first seven chapters. You are not to use functions, enums, arrays, structs, classes, or pointers. The tax owned depends on how much money one makes as well as their filing status. For use four filing statuses. These are ()single filers, (2)married filing our purposes we wi inintlv Rhmarried filino senaratelv and u4hhead nf hem erhald Tax Single Filers Married Filing Married Filing Head of Jointly Separately 2 12% Up to S7,550 Up to S15.100 Up to S7,550 Up to S10,750 3 16% S7.551-S30,650 S15,101-S61,300 S7,551-S30,650 S10,751-S41,050 4 20% S30,651-S74,200 S61,301-S123,700 S30,651-S61,850 S41,051-S106,000 28% S74, 201-S154,800 S123,701- $61,851-S94.225 S106,001- S171,650 S188,450 32% S154,801- S188,451- $94,226 S168,275 S171,651- S336,550 S336,550 S336,550 7 40% S336,551 or more S336,551 or more S168,276 or more S336,551 or more For each filing status there are six tax rates. Each rate is applied to a given amount of the taxable income. For example, for a taxable income of S450,000 for a single filer, S7,550 is taxed at 12%, ($30,650-S7,550) at 16%, (S74,200-S30,650) at 20% (S154,800- S74,200) at 28%, (S336,550-$154.800) at 32%, and (S450,000-336,550) at 40% for a tax amount of S139,419. Variables Name Type Description and edit specifications status Code int Status code must be from l to 4. l single, 2 married filing jointly, 3 married filing separately, 4 head of household, 9-end processing. taxable Income float Taxable income is entered by the user from the keyboard. The amount must be numeric and not less than S3000. tax Amt is a calculated field and is determined from the supplied tax table as applied to the taxablelncome. 75%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
