Enter your id (or 'q' to exit): E1 (1) Print out current salary (2) Print out manager infomation (3) End session and return to main menu 2 John Smith -------- Age: 30 ID: M1 (1) Print out current salary (2) Print out manager infomation (3) End session and return to main menu 3 Ending session for Mark Johnson Enter your id (or 'q' to exit): M1 (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 1 Employees of John Smith ============== Mark Johnson -------- Age: 20 ID: E1 Salary: 1000 Manager: John Smith John Markson -------- Age: 21 ID: E2 Salary: 1210 Manager: John Smith (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 4 Give employee id: E1 Give employee new salary: 1500 Salary of Mark Johnson changed to 1500 (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 1 Employees of John Smith ============== Mark Johnson -------- Age: 20 ID: E1 Salary: 1500 Manager: John Smith John Markson -------- Age: 21 ID: E2 Salary: 1210 Manager: John Smith (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 2 Give name of employee: Michael Doe Give employee age: 24 Give employee id: E6 Give employee salary: 1200 (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 1 Employees of John Smith ============== Mark Johnson -------- Age: 20 ID: E1 Salary: 1500 Manager: John Smith John Markson -------- Age: 21 ID: E2 Salary: 1210 Manager: John Smith Michael Doe -------- Age: 24 ID: E6 Salary: 1200 Manager: John Smith (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 3 Give employee id: E3 Manager John Smith is not allowed to fire employee Jack Johnson (1) Print out list of employees (2) Add an employee (3) Fire an employee (4) Give a raise to an employee (5) End session and return to main menu 5 Ending session for John Smith Enter your id (or 'q' to exit): q System exiting.