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
Is using exit() the same as using return?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is omp_num_threads?
can anyone please tell about the nested interrupts?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
How can I read/write structures from/to data files?
How can a program be made to print the name of a source file where an error occurs?
Explain what is the difference between functions getch() and getche()?
Define circular linked list.
Can true be a variable name in c?
What does struct node * mean?
what are the 10 different models of writing an addition program in C language?
Add Two Numbers Without Using the Addition Operator
What is wild pointer in c?
How can you call a function, given its name as a string?