Question: Question 2: Write a java program to calculate the net salary for the employee after deducting the due taxes. The due tax is calculated according

Question 2:

  • Write a java program to calculate the net salary for the employee after deducting the due taxes. The due tax is calculated according to the following formulas.

Basic salary

Income tax percentage from the basic salary

Greater than or equal to 15000

20 %

10000-14999

15 %

5000-9999

10 %

Less than 5000

5 %

  • Ask the user to enter his basic salary and print out the net salary after deducting the due taxes.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!