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

How can you determine the maximum value that a numeric variable can hold?

1299


How to throw some light on the b tree?

1153


How can I remove the leading spaces from a string?

1215


What are examples of structures?

1189


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1137


Tell me when would you use a pointer to a function?

1125


With the help of using classes, write a program to add two numbers.

1083


What are near, far and huge pointers?

1116


Is it possible to execute code even after the program exits the main() function?

1396


Add Two Numbers Without Using the Addition Operator

882


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1130


Write a program to generate random numbers in c?

1158


What would be an example of a structure analogous to structure c?

1051


How to find a missed value, if you want to store 100 values in a 99 sized array?

1464


How can type-insensitive macros be created?

1220