Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).

5 Answers   Microsoft, Motorola,

plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 Answers  

Example of friendly function in c++

2 Answers  

pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )

2 Answers   Persistent,

Give the logic for this #include<stdio.h> #include<conio.h> void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?

2 Answers   Accenture,

what is the output of printf("%d",(scanf("%d",10));

10 Answers  

the maximum value that an integer constant can have is a) -32767 b) 32767 c) 1.701e+38 d) -1.7014e+38

0 Answers  

Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  

Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

0 Answers  

what is self refrential structure

3 Answers   HCL,

In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,

#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }

7 Answers   Infosys,