basically you need to include all your given conditions above to the input number
use if conditions to check each condition and accordingly add the amount and get the total tax
for example if salary < 4 lakhs in then give tax as 0 in else check if < 8 and if not calculate the tax for amount (input - 4 lakhs)*0.5 is the tax amount..similarly continue for each case
In UiPath, to automate this tax calculation, first input the gross salary and deduct the standard deduction (₹75,000 for salaried). Check if the taxable income exceeds ₹12,75,000. If not, set tax to zero. If above, apply the new regime tax slabs starting from ₹4 lakh, summing each slab’s tax. Exclude the Section 87A rebate for incomes above ₹12 lakh. Add 4% health and education cess to the computed tax. Display the final tax amount. Use conditional logic for marginal relief if taxable income is just above the threshold, ensuring compliance with the latest rules