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
What is the data segment that is followed by c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
develop algorithms to add polynomials (i) in one variable
What are the disadvantages of a shell structure?
What are different types of variables in c?
What does stand for?
Which function in C can be used to append a string to another string?
What is string constants?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Why c is called top down?
What is malloc calloc and realloc in c?
If I have a char * variable pointing to the name of a function ..
Can we use any name in place of argv and argc as command line arguments?
What is sizeof in c?
How does placing some code lines between the comment symbol help in debugging the code?