//to compile this program, you should add employee.h, employee.cpp, and test.cpp to one project #include "employee.h" #include #include using namespace std; int main() { Employee e1("Nguyen", "Minh", 100); Employee e2("Do", "Hanh", 200); int ms1, ms2; ms1 = e1.getSalary(); ms2 = e2.getSalary(); cout << "The yearly salary of employee 1 is " << ms1*12 << endl; cout << "The yearly salary of employee 2 is " << ms2*12 << endl; ms1 = (int) ms1*1.1; ms2 = (int) ms2*1.1; e1.setSalary(ms1); e2.setSalary(ms2); cout << "The yearly salary of employee 1 is " << ms1*12 << endl; cout << "The yearly salary of employee 2 is " << ms2*12 << endl; getchar(); return 0; }