write a c program to calculate the income tax of the
employees in an organization where the conditions are given as.
(I.T. = 0 if income <100000
I.T = 10% if income _< 200000
it = 20% if income >_ 200000)
Answer Posted / manivannan
int I.T,income;
printf("Enter Your income");
scanf("%d",&income);
if(income<100000)
I.T=0;
elseif(income<200000)
I.T=income * 10/100;
elseif(income>200000)
I.T=income * 20/100;
income=income+I.T;
| Is This Answer Correct ? | 60 Yes | 90 No |
Post New Answer View All Answers
How can you determine the maximum value that a numeric variable can hold?
How to throw some light on the b tree?
How can I remove the leading spaces from a string?
What are examples of structures?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Tell me when would you use a pointer to a function?
With the help of using classes, write a program to add two numbers.
What are near, far and huge pointers?
Is it possible to execute code even after the program exits the main() function?
Add Two Numbers Without Using the Addition Operator
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
Write a program to generate random numbers in c?
What would be an example of a structure analogous to structure c?
How to find a missed value, if you want to store 100 values in a 99 sized array?
How can type-insensitive macros be created?