Income Tax for Male and below 65 Age
Given below is a hypothetical table showing rates of Income Tax for male citizens below the age of 65 years: Taxable Income (TI) in Rs. Income Tax Does not exceed 1,60,000 Nil Is greater than 1,60,000 and less than or equal to 5,00,000 ( TI – 1,60,000 ) * 10% Is greater than 5,00,000 and less than or equal to 8,00,000 [(TI – 5,00,000 ) *20%] + 34,000 Is greater than 8,00,000 [(TI – 8,00,000 ) *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.