6. Program to input salary of an employee and display the salary that the person will receive for each
of the next 5 years if he gets an increment of 10% every year.
the end
Answers
Answered by
0
Answer:
Net Salary = Gross Salary – Income Tax – Public Provident Fund – Professional Tax
Explanation:
class NetSalary
{
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);
}
}
Output:
1
Net Salary is=7700.0
Similar questions