Experiment-1 Aim:: Create An Application To Save The Employee Information Using Arrays
Experiment-1 Aim:: Create An Application To Save The Employee Information Using Arrays
Flowchart:
Class Diagram:
Program:
Class Employee:-
package proj;
Class Project1:-
package proj;
}
salary =emp[i].getBasic()+emp[i].getHra()+da-emp[i].getIt();
System.out.println("Emp
No\tEmpName\tDepartment\tDesignation\tSalary");
System.out.println(emp[i].getEmpNo()+"\t"
+emp[i].getEmpName()+"\t" +emp[i].getDept()+"\t\t" +designation+"\t"+salary);
}
break;
}
if(match==false)
{
System.out.println("There is no employee with empid: "+empCode);
}
}
}
Output: