write a java program to calculate the gross salary of an employee when basic salary=₹8600 DA=20%of basic salary HRA=10%of basic salary gross salary =basic salary +DA+HRA
Answers
Answered by
1
Answer:
{
public static void main(String arg[])
{
double grossSalary=10000;
double incomeTax=1000;
double providentFund=800;
double professionalTax=500;
double netSalary=grossSalary-(incomeTax+providentFund+professionalTax);
System.out.println("Net Salary is="+netSalary);
}
}
Similar questions