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
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
How can you invoke another program from within a C program?
Is null always equal to 0(zero)?
How can I write functions that take a variable number of arguments?
Differentiate between ordinary variable and pointer in c.
Why is structure padding done in c?
How to implement a packet in C
What does & mean in scanf?
Is c high or low level?
How main function is called in c?
Explain what are binary trees?
Is it better to use a macro or a function?
Write a simple code fragment that will check if a number is positive or negative.
What are the disadvantages of a shell structure?
Describe wild pointers in c?