./workersDB small.txt Employee DB Menu: ---------------------------------- (1) Print the Database (2) Lookup by ID (3) Lookup by Last Name (4) Add an Employee (5) Quit ---------------------------------- (6) Extra Challenge: Remove Employee (7) Extra Challenge: Print Max salaries --------------------------------- Enter your choice: 1 NAME SALARY ID --------------------------------------------------------------- Cathryn Danner 72000 165417 Matt Meeden 69000 273225 Robert Dufour 91000 471163 Dylan Steinberg 84000 485913 Mike Griffin 72000 499959 Daniel McNamee 71000 547935 Peter Olsen 82000 553997 Martine Marshall 99000 633976 Jean Jones 94000 702234 Dana Parrish 87000 784372 Ann Coddington 82000 786785 Melissa Dufour 114000 849387 Heather James 98000 935460 Russ Vorobiev 109000 970016 --------------------------------------------------------------- Number of Employees (14) Employee DB Menu: ---------------------------------- (1) Print the Database (2) Lookup by ID (3) Lookup by Last Name (4) Add an Employee (5) Quit ---------------------------------- (6) Extra Challenge: Remove Employee (7) Extra Challenge: Print Max salaries --------------------------------- Enter your choice: 6 Enter a 6 diget employee id num: 553997 Do you want to remove the following employee? NAME SALARY ID --------------------------------------------------------------- Peter Olsen 82000 553997 --------------------------------------------------------------- Enter 1 for yes, 0 for no: 1 Employee DB Menu: ---------------------------------- (1) Print the Database (2) Lookup by ID (3) Lookup by Last Name (4) Add an Employee (5) Quit ---------------------------------- (6) Extra Challenge: Remove Employee (7) Extra Challenge: Print Max salaries --------------------------------- Enter your choice: 1 NAME SALARY ID --------------------------------------------------------------- Cathryn Danner 72000 165417 Matt Meeden 69000 273225 Robert Dufour 91000 471163 Dylan Steinberg 84000 485913 Mike Griffin 72000 499959 Daniel McNamee 71000 547935 Martine Marshall 99000 633976 Jean Jones 94000 702234 Dana Parrish 87000 784372 Ann Coddington 82000 786785 Melissa Dufour 114000 849387 Heather James 98000 935460 Russ Vorobiev 109000 970016 --------------------------------------------------------------- Number of Employees (13) Employee DB Menu: ---------------------------------- (1) Print the Database (2) Lookup by ID (3) Lookup by Last Name (4) Add an Employee (5) Quit ---------------------------------- (6) Extra Challenge: Remove Employee (7) Extra Challenge: Print Max salaries --------------------------------- Enter your choice: 7 Enter num of max salaries to print: 4 The 4 top salaries are: NAME SALARY ID --------------------------------------------------------------- Melissa Dufour 114000 849387 Russ Vorobiev 109000 970016 Martine Marshall 99000 633976 Heather James 98000 935460 --------------------------------------------------------------- Employee DB Menu: ---------------------------------- (1) Print the Database (2) Lookup by ID (3) Lookup by Last Name (4) Add an Employee (5) Quit ---------------------------------- (6) Extra Challenge: Remove Employee (7) Extra Challenge: Print Max salaries --------------------------------- Enter your choice: 1 NAME SALARY ID --------------------------------------------------------------- Cathryn Danner 72000 165417 Matt Meeden 69000 273225 Robert Dufour 91000 471163 Dylan Steinberg 84000 485913 Mike Griffin 72000 499959 Daniel McNamee 71000 547935 Martine Marshall 99000 633976 Jean Jones 94000 702234 Dana Parrish 87000 784372 Ann Coddington 82000 786785 Melissa Dufour 114000 849387 Heather James 98000 935460 Russ Vorobiev 109000 970016 --------------------------------------------------------------- Number of Employees (13) Employee DB Menu: ---------------------------------- (1) Print the Database (2) Lookup by ID (3) Lookup by Last Name (4) Add an Employee (5) Quit ---------------------------------- (6) Extra Challenge: Remove Employee (7) Extra Challenge: Print Max salaries --------------------------------- Enter your choice: 5 goodbye