Employee Oop Example
Employee Oop Example
Problem: To write an object program the prints an employee payslip and the company's employee
wage Bill
Key Highlights.
1. Class Employee
2. All getter and setter functions
3. A Method to calculate tax of an employee
4. A Method to calculate gross earning of an employee
5. A Method to calculate print employees paySlip
6. A Method to calculate print the entire wage bill of an organization
System Architecture
MAIN
Employee Emp
Employee myEmp[]
setAllowances()
setEmployeeDetails()
printWageBill(Emp [])
printPaySlip(Emp)