0
1.8kviews
computer (java programming)
written 2.9 years ago by | modified 2.9 years ago by |
Write a program to calculate and print the tax amount as per the following rules.
Enter the salary of an employee.
a)If the salary is below 200000 then no tax.
b)If the salary is more than 200000 and less than or equal to 300000 then tax amount will be 5% of
salary.
c)If the salary is more than 300000 and less than or equal to 500000 then tax amount will be 7% of
salary.
d) If the salary is more than 500000 then tax amount will be 10% of salary.
ADD COMMENT
EDIT
1 Answer