Q. An employee to pay an income tax based on his gross annual income as follows:

Annual gross incomeAnnual tax deduction (%)
Less than or equal to Rs. 100000%
Rs. 10001 to Rs. 50000Rs. 1000 + 10% of income
Rs. 50001 to Rs. 80000Rs. 5000 + 20% of income
> Rs. 80000Rs. 10000 + 30% of income

WAP to compute and print the tax payable by a salaried person.

  • Enter the annual income:
  • Tax to be paid: