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

Is using exit() the same as using return?

682


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

626


What is omp_num_threads?

587


can anyone please tell about the nested interrupts?

1678


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

1633






How can I read/write structures from/to data files?

554


How can a program be made to print the name of a source file where an error occurs?

735


Explain what is the difference between functions getch() and getche()?

612


Define circular linked list.

573


Can true be a variable name in c?

561


What does struct node * mean?

605


what are the 10 different models of writing an addition program in C language?

1443


Add Two Numbers Without Using the Addition Operator

357


What is wild pointer in c?

613


How can you call a function, given its name as a string?

716