Friday, 1 February 2013

Decision Making - 2

1. Calculate the income tax based on the gross annual income  as per the given rule :

Gross annual income                             Tax deduction

<=100000                                                        Nil

100001 to 150000                             10%of the income exceeding 1 lakh

150001 to 200000                             5000+20%of the income exceeding 150000

Above 200000                                  15000+30%of the income exceeding 200000

Write a programto input gross annual  income and print the payable income tax.
2. The water department has an annual water conservation policy.The rates are based on the water consumption of the consumer.
Water in gallons                                        Tax rate
>=45 but <=75                                             475.00
>75 but <=125                                             750.00
>125 but <=200                                         1225.00
>200 but <=350                                         1650.00
>350                                                           2000.00
Display an annual water tax on the input value of water consumption.                                                    [ICSE 2003]
3. Write a program to find the gross salary of an employee for the following allowances and deduction.
Dearness allowance (DA)= 25% of Basic Pay
House rent allowance(HRA) = 15% of basic pay
Provident fund(PF) = 8.33% of basic pay                       
Net pay = Basic+DA+HRA
Gross Pay = Net pay - PF                                           [ICSE 2005]