Employee is a class with a function to set the details of the
employee such as the emp_id, Name, Gender and city.
The Fulltime Employee is a class derived from Employee has a
function to set the Dearness Allowance (DA), House Rent Allowance
(HRA) and EPF deduction.
Part-time Employee is a class derived from Employee has a
function to set the Shift (I, II, or III), Pickup Point, Pickup
Time, Drop Point and Leaving Time.
The Tech-Staff is a derived class from the Fulltime Employee
class. The function set_basic() is to set the basic salary and
Pay_Detail() is a function to display the Salary details.
Employee is a class with a function to set the details of the employee such as the emp_id, Name, Gender and city. The Fu
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am