Question: Write a java program that reads the salary of an employee. The calculates and prints the income tax ( 2 % of total salary )

Write a java program that reads the salary of an employee. The calculates and prints the income tax (2% of total salary) and community deduction (1% of total salary). Finally, the program should calculate and print the net salary.Please Enter the salary: 552Income tax =11.04Community deduction =5.52Net Salary =535.44

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!