Computer Science, asked by subrao8888, 3 months ago

Question 6:
Given below is a hypothetical table showing rates of income tax for male citizens belov
age
of 65 years.
Income tax in rs
Nil
(TI-160000)*10%
Taxable income
Less than or equal to 160000
Greater than 160000 and less than or
equal to 500000
Greater than 500000 and less than or
equal to 800000
Greater than 800000
((TI-500000)*20%)+34000
((II - 800000)*30%)+94000
Write a program to input the age, gender (male or female) and taxable income of a person
If the age is more than 65 years or the gender is female display" wrong category"
If the age is less than or equal to 65 and gender is male then calculate and display income
payable as per the above table.
[15]​

Answers

Answered by mamtasrivastavashta1
0

Explanation:

Taxable income (TI) in ₹ Income Tax in ₹

Does not exceed Rs. 1,60,000 Nil

Is greater than Rs. 1,60,000 and less than or equal to Rs. 5,00,000. (TI - 1,60,000) x 10%

Is greater than Rs. 5,00,000 and less than or equal to Rs. 8,00,000 [(TI - 5,00,000) x 20%] + 34,000

Is greater than Rs. 8,00,000 [(TI - 8,00,000) x 30%] + 94,000

Write a program to input the age, gender (male or female) and Taxable Income of a person.

If the age is more than 65 years or the gender is female, display “wrong category”. If the age is less than or equal to 65 years and the gender is male, compute and display the income tax payable as per the table given above.

Similar questions