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

Post New Answer

More C Interview Questions

in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

2 Answers   NetApp,


Add Two Numbers Without Using the Addition Operator

0 Answers  


4. main() { int c=- -2; printf("c=%d",c); }

0 Answers  


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; } }

6 Answers  


How are portions of a program disabled in demo versions?

0 Answers  






Give the rules for variable declaration?

0 Answers  


What does 3 periods mean in texting?

0 Answers  


write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+

1 Answers   Reliance,


Who invented bcpl language?

0 Answers  


How can I access a memory located at certain address?

2 Answers   CSC,


HOW TO HANDLE EXCEPTIONS IN C

8 Answers  


Explain the use of 'auto' keyword in c programming?

0 Answers  


Categories