Question: ONLY CODE IN C LANGUAGE PLEASE Implement the Income Tax Calculator described below Tax Laws: i. All taxpayers are charged a flat tax rate of
ONLY CODE IN C LANGUAGE PLEASE
Implement the Income Tax Calculator described below
Tax Laws:
i. All taxpayers are charged a flat tax rate of 20%.
ii. All taxpayers are allowed a $10,000 standard deduction.
iii. For each dependent, a taxpayer is allowed an additional $2000 deduction.
iv. Gross income must be entered to the nearest penny.
v. The income tax is expressed as a decimal number
User Inputs
1. Gross Income and Number of Dependents
Sample Execution Input 100500.00 3 Output 16900 Note: (Calculation - Standard Exemption Rs.10,000 100500.00 - 10000 = 90500 Detection for dependents - 2000 x 3 = 6000 90500 - 6000 = 84500 Tax calculation 84500 x 0.2 = 16900)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
