Question: 3. Write a simple Python program to calculate the tax. The tax rate depends on the marital status, salary and the age as follows: [20

3. Write a simple Python program to calculate the tax. The tax rate depends on the marital status, salary and the age as follows: [20 Marks) If the status is SINGLE and the taxable INCOME is: at most $50,000 over $50,000 1896 18% upto $50,000 + 30% above $50,000 Age 2 60 1596 15% upto $50,000 + 20% above $50,000 If the status is MARRIED and the taxable INCOME is: at most $80,000 over $80,000 The tax is: Age
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
