<html> <head> <script> function findTax() { var salary = 680300 var taxableSal = salary-250000 //430300 if(taxableSal <= 300000) { document.writeln("No tax") } else { if(taxableSal>300000 && taxableSal<=500000) { var tax = taxableSal * 10/100 document.writeln("Tax = "+tax) } else { if(taxableSal>500000 && taxableSal<=1000000) { var tax = taxableSal * 15/100 document.writeln("Tax = "+tax) } else { var tax = taxableSal * 20/100 document.writeln("Tax = "+tax) } } } } findTax() </script> </head> </html>
Office no.- 401,Shekhar Central Building ,Palasiya, Pin-code:452001, Indore
contact@codebetter.in
+91 88230 75444, +91 99939 28766