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

What is extern variable in c with example?

0 Answers  


main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?

7 Answers   Ramco,


implement OR gate without using any bitwise operator.

1 Answers   Alcatel, Wipro,


int main() { int i=-1,j=-1;k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d%d%d%d%d",i,j,k,l,m); }

3 Answers   HCL,


What is array within structure?

0 Answers  






write a program to find out prime number using sieve case?

0 Answers   HCL,


What is the use of function in c?

0 Answers  


Do you know what is a programing language ?

0 Answers  


What are the 5 organizational structures?

0 Answers  


1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.

4 Answers   Ignou, TCS,


to convert a string without using decrement operater and string functions

1 Answers  


The difference between printf and fprintf is ?

0 Answers   Baan Infotech,


Categories