Question: Write a program that inputs the salary of an employee from the user. It deducts the income tax from the salary on the following basis

Write a program that inputs the salary of an employee from the user. It deducts the income tax from the salary on the following basis

  1. 20% income tax if the salary is above Rs. 30000.
  2. 15% income tax if the salary if the salary is between Rs. 20000 and 30000.
  3. 10% income tax if the salary is below Rs. 20000.

The program finally displays the salary, income tax and the net salary.

Step by Step Solution

3.37 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution include include using namespace std int main int salary netsalary incometax prod cout enter ... View full answer

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 Programming Questions!