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


Please Help Members By Posting Answers For Below Questions

What is the data segment that is followed by c?

600


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1510


develop algorithms to add polynomials (i) in one variable

1729


What are the disadvantages of a shell structure?

682


What are different types of variables in c?

563






What does stand for?

584


Which function in C can be used to append a string to another string?

639


What is string constants?

653


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15034


Why c is called top down?

619


What is malloc calloc and realloc in c?

656


If I have a char * variable pointing to the name of a function ..

641


Can we use any name in place of argv and argc as command line arguments?

602


What is sizeof in c?

563


How does placing some code lines between the comment symbol help in debugging the code?

536