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 the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


What is structure padding ?

3 Answers   HP,


Explain how do you determine the length of a string value that was stored in a variable?

0 Answers  


Tell me a C program to display the following Output? 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5

3 Answers  


int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 Answers   Vector,






matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.

5 Answers   TCS,


Explain 'bus error'?

0 Answers  


how can i get this by using for loop? * ** * **** * ******

3 Answers   Excel,


Is there a built-in function in C that can be used for sorting data?

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

28 Answers   3D PLM, Code Studio, Deltech, IBM,


9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?

1 Answers  


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

0 Answers   Persistent,


Categories