Code CODO
Home
Basic JS
If-Else JS
If-Else JS (Part-2)
QUESTION
(9). Write a program and print the tax payable by a salaried person. An employee to pay an income tax based on his gross annual income as follows:
Annual gross income
Annual tax deduction(%)
Less than or equal to Rs 10000
0%
10001 to 50000
Rs. 1000 + 10% of income
50001 to 80000
Rs. 5000 + 20% of income
Greater than 80000
Rs. 10000 + 30% of income
Enter the Gross annual income
Amount of Tax
CopyRights@2023 Code-CODO.online.All Rights Reserved