The program will first compute the tax you owe based on your income.
User is prompted to enter income.
Program will compute the total amount of tax owed based on the following:
Income Tax
0 - $45,000 = 0.15 x income
$45,001 - $90,000 = 6750 + 0.20 x (income – 45000)
$90,001 - $140,000 = 15750 + 0.26 x (income – 90000)
$140,001 - $200,000 = 28750 + 0.29 x (income – 140000)
Greater than $200,000 = 46150 + 0.33 x (income – 200000)
Dollar amounts should be in dollars and cents (float point numbers with two decimals shown).
Tax is displayed on the screen.
No Answer is Posted For this Question
Be the First to Post Answer
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
Add Two Numbers Without Using the Addition Operator
4. main() { int c=- -2; printf("c=%d",c); }
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
How are portions of a program disabled in demo versions?
Give the rules for variable declaration?
What does 3 periods mean in texting?
write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+
Who invented bcpl language?
How can I access a memory located at certain address?
HOW TO HANDLE EXCEPTIONS IN C
Explain the use of 'auto' keyword in c programming?