Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

999


How can you invoke another program from within a C program?

1023


Is null always equal to 0(zero)?

990


How can I write functions that take a variable number of arguments?

1076


Differentiate between ordinary variable and pointer in c.

1101


Why is structure padding done in c?

1071


How to implement a packet in C

2831


What does & mean in scanf?

1043


Is c high or low level?

963


How main function is called in c?

1072


Explain what are binary trees?

1021


Is it better to use a macro or a function?

1099


Write a simple code fragment that will check if a number is positive or negative.

1101


What are the disadvantages of a shell structure?

1267


Describe wild pointers in c?

1061