If basic_salary <= 10000 then, hra = basic_salary * 0.8 and da = basic_salary * 0.2 . Similarly check basic salary and compute hra and da accordingly. Calculate final gross salary using formula gross_salary = basic_salary + da + hra .
Read moreHow is net salary calculated in Java?
net salary= GS-income taxAlgorithm:
Read moreWhat is the formula for salary calculation?
Your total yearly take-home salary = gross salary – total deductions = ₹9.50 lakhs – ₹48,700 = ₹9,01,300. Now, your monthly take-home salary = annual salary/12 = ₹9,01,300/12 = ₹75,108. To do away with the tedious calculations, most people prefer the take-home salary calculator in India.
Read moreHow do you calculate net price in Java?
Java program to calculate discount price :
Read more