Hi,
i am ali.i am an engineering student, studing in 2nd semester( 1st year).
C++ programming teacher gave me a LAB EXERCISE to complete it in one week,
please help me to complete the exercise.
please write the code for C++.
the question is as following:
" using three files approach, implement a class employee with following private data members:
* name (string)
* job title (string e.g., manager, accountant, etc.)
* id (int)
* salary (double)
* department (string e.g., production, marketing, etc.)
Write separate public member functions to set and get each private data member. Also write a default constructor. Write a small program that tests your implementation of employee class by creating its three instances/objects, initializing each object data on some user-supplied values and displaying data of each object.
In addition, increase salary of each employee by 10% and then display updated data of each employee.