01: #include <iostream>
02: 
03: using namespace std;
04: 
05: #include "ccc_empl.cpp"
06: 
07: /**
08:    Raise an employee salary 
09:    @param e employee receiving raise
10:    @param by the percentage of the raise
11: */
12: void raise_salary(Employee& e, double by)
13: {  
14:    double new_salary = e.get_salary() * (1 + by / 100);
15:    e.set_salary(new_salary);
16: }
17: 
18: int main()
19: {  
20:    Employee harry("Hacker, Harry", 45000.00);
21:    raise_salary(harry, 5);
22:    cout << "New salary: " << harry.get_salary() << "\n";
23:    return 0;
24: }