AMOUNT INCOME TAX RATE
Up to ₹2,50,000 0%
₹2,50,001 - ₹5,00,000 5% above ₹2,50,000
₹5,00,001 - ₹7,50,000 10% above ₹5,00,000 + ₹12,500
₹7,50,001 - ₹10,00,000 15% above ₹7,50,000 + ₹37,500
₹10,00,001 - ₹12,50,000 20% above ₹10,00,000 + ₹75,000
₹12,50,001 - ₹15,00,000 25% above ₹12,50,000 + ₹1,25,000
Above ₹15,00,001 30% above ₹15,00,000 + ₹1,87,500
In this program, we will take annual income from the user as input after that we will pass that data to compare the Tax slab with different if-else conditions. After comparing we will calculate the tax and return it to that function to print the calculated Tax on that Income.