salary in java

Employee Salary Based Program in Java

import java.util.*; /** * Define a class employee with the following members to compute the salary slip of an employee. * @author (Afaq) */ public class Employee { int empno; String name; float salary, hra, da, it, gp; Employee() { empno=0; name = “”; salary = 0.0f; hra = 0.0f; da = 0.0f; it = […]