income taxes help


what would be the possible source code in this program?i am using a dev C++ compiler?

these is the problem: M Sample output First Screen Input Monthly Salary JanuaryP FebruaryP MarchP AprilP MayP JuneP JulyP AugustP SeptemberP OctoberP NovemberP DecemberP BonusP *note: get the monthly income of the taxpayer and sum it up including the bonus. The taxable for the bonus is the excess of more than 30,000. example bonus = 40,000 the taxable is 10,000 only. In these input the output is the gross taxable income which will be displayed on the next screen. After inputting the necessary information clear the screen for the next part of the program. Next Screen For the year YYYY _ _ _ _ Taxpayer’s Spouse TINTIN _ _ _ - _ _ _- _ _ _- 0 0 0_ _ _ - _ _ _- _ _ _- 0 0 0 Name (Last Name, First Name, Middle NameName (Last Name, First Name, Middle Name ___________________________________________________________ Registered AddressRegistered Address ___________________________________________________________ Date of Birth (MM/DD/YYYY)Date of Birth (MM/DD/YYYY) _ _ / _ _ / _ _ _ __ _ / _ _ / _ _ _ _ Zip CodeZip Code _ _ _ __ _ _ _ Telephone NumberTelephone Number (63 _ _) _ _ _ - _ _ - _ _(63 _ _) _ _ _ - _ _ - _ _ Exemption Status Single Head of the Family Married Number of Qualified Dependent Is the wife claiming the additional exemption for qualified dependent children? YesNo Computation of Tax Gross Taxable Compensation Income Gross Compensation Income and Tax Withheld Name of EmployerTINTaxpayer Compensation IncomeSpouse Compensation Income Qualified Dependent Children Name Birthdate (MM/DD/YYYY) Other Dependents Name Birthdate (MM/DD/YYYY)Relationship If Taxable Income is: Tax Due is: If Not over P 10,000 5 % Over P 10,000 but not over P 30,000 P 500 + 10 % of the excess over P 10,000 Over P 30,000 but not over P 70,000 P 2,500 + 15 % of the excess over P 30,000 Over P 70,000 but not over P 140,000 P 8,500 + 20 % of the excess over P 70,000 Over P 140,000 but not over P 250,000 P 22,500 + 25 % of the excess over P 140,000 Over P 250,000 but not over P 500,000 P 50,000 + 30 % of the excess over P 250,000 Over P 500,000 P 125,000 + 34 % of the excess over P 500,000 Personal and Additional Exemptions The filer’s civil status shall be indicated by marking with an “x” the appropriate box. The amount of personal exemption are as follows: a. For single individual, widow/widower or married individual judicially decreed as legally separated with no qualified dependents P 20,000 b. For Head of the Family P 25,000 c. For each employed married individual P 32,000 In the case of married individuals where only one of the spouses is deriving gross income, only such spouse shall be allowed the personal exemption. An additional exemption of P8,000.00 shall be allowed for each qualified dependent child, not exceeding four (4). The additional exemption for dependents shall be claimed by the husband, who is deemed the head of the family unless he explicitly waives his right in favor of his wife. In the case of legally separated spouses, additional exemption may be claimed only by the spouse who has custody of the child or children; Provided, that the total amount of additional exemptions that may be claimed by both shall not exceed the maximum additional exemptions allowed by the Tax Code.

Public Comments

  1. You can't go from output to source code. A source will only produce one output - an output can be produced by an infinite variation of source.
  2. it can be anything. You should use Visual Express 2008. Its free and has a much better interface. http://www.microsoft.com/express/vc/ I've used Dev and there were too many holes in it. It would compile the programs but Express show me more warnings and possible errors with my code. Dev also hung up a lot when I tried using that class browsing. Express has it also and it doesn't hang up.
Powered by Yahoo! Answers