0

Develop an Employee Database System. The database of Employee should keep
the information of Employees in the file with flowing components,
a. Employee ID
b. Designation
c. Employee Name
d. Grad
e. Date of Employment
f. Basic Pay
g. Allowances
Include in your project add_new_Employee, add_allowance, make_deduction and
show_employee_detail functions

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by Phil++
0

a. Employee ID
b. Designation
c. Employee Name
d. Grad
e. Date of Employment
f. Basic Pay
g. Allowances

Ok, I'll do the Class for you (I haven't compiled this)

class Employee {
        public:
        Employee();
        Employee(char employeeName[], char employeeDesignation[], int employeeGrad, int EmployeeDate, int employeePay, int EmployeeAllowances);

        // the functions that will display the results
        char* getDetails();
       
        // the functions that will set the data
        void set (char employeeName[], char employeeDesignation[], int employeeGrad, int EmployeeDate, int employeePay, int EmployeeAllowances);

        private:
                  char employee_name[50];
                  char employee_designation[50];
                  int employee_grad;
                  int employee_date;
                  int employee_pay;
                  int employee_allowances;
};

Sorry if any of that's wrong, just started classes really. You will need to include the functions (Y) good luck.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.