net salary= GS-income taxAlgorithm:
Read moreHow is basic salary calculated in Java?
By using the given formula gross_salary = [basic_salary + daily allowance + house_rent] we cand find the answer. By using the below code we can easily calculate the gross salary in java programing.
Read more