Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Below is a partial list of results. See your email for more details.
- ********************************************************************
- Results for Dataset 1
- Differences: 20
- There were 20 differences between your output and the correct output.
- Below is Your Output, with line numbers added:
- 1: Employee Management System is running...!
- 2: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 3: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 4: Please select any two employees by entering their indices, separated by comma:
- 5: 1.Adam, 2.Bill, 3.Zak, 4.Henry, 5.Peter
- 6: Job titles have been swapped.
- 7: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 8: Please select any two employees by entering their indices, separated by comma:
- 9: 1.Adam, 2.Bill, 3.Zak, 4.Henry, 5.Peter
- 10: Job titles have been swapped.
- 11: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 12: Invalid command!
- 13: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 14: Please select any two employees by entering their indices, separated by comma:
- 15: 1.Adam, 2.Bill, 3.Zak, 4.Henry, 5.Peter
- 16: Invalid index! Please try again
- 17: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 18: They are not equal!
- 19: Thanks for using Employee Management System!
- **********************************************************
- Below is the Correct Output, with line numbers added:
- 1: Employee Management System is running...!
- 2: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 3: Employee list:
- 4: Adam : Software Engineer
- 5: Bill : Team Leader
- 6: Zak : Project Manager
- 7: Henry : Director
- 8: Peter : VP
- 9: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 10: Please select any two employees by entering their indices, separated by comma:
- 11: 1.Adam, 2.Bill, 3.Zak, 4.Henry, 5.Peter
- 12: Job titles have been swapped.
- 13: Employee list:
- 14: Adam : VP
- 15: Bill : Team Leader
- 16: Zak : Project Manager
- 17: Henry : Director
- 18: Peter : Software Engineer
- 19: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 20: Please select any two employees by entering their indices, separated by comma:
- 21: 1.Adam, 2.Bill, 3.Zak, 4.Henry, 5.Peter
- 22: Job titles have been swapped.
- 23: Employee list:
- 24: Adam : VP
- 25: Bill : Project Manager
- 26: Zak : Team Leader
- 27: Henry : Director
- 28: Peter : Software Engineer
- 29: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 30: Invalid command!
- 31: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 32: Please select any two employees by entering their indices, separated by comma:
- 33: 1.Adam, 2.Bill, 3.Zak, 4.Henry, 5.Peter
- 34: Invalid index! Please try again
- 35: Please enter L to list all employees, S to swap job titles of two employees, Q to quit!
- 36: They are equal!
- 37: Thanks for using Employee Management System!
- **********************************************************
- Below is how to change your output to the correct output, with the required changes numbered:
- Insert after Line 2: Employee list:
- Insert after Line 2: Adam : Software Engineer
- Insert after Line 2: Bill : Team Leader
- Insert after Line 2: Zak : Project Manager
- Insert after Line 2: Henry : Director
- Insert after Line 2: Peter : VP
- Insert after Line 6: Employee list:
- Insert after Line 6: Adam : VP
- Insert after Line 6: Bill : Team Leader
- Insert after Line 6: Zak : Project Manager
- Insert after Line 6: Henry : Director
- Insert after Line 6: Peter : Software Engineer
- Insert after Line 10: Employee list:
- Insert after Line 10: Adam : VP
- Insert after Line 10: Bill : Project Manager
- Insert after Line 10: Zak : Team Leader
- Insert after Line 10: Henry : Director
- Insert after Line 10: Peter : Software Engineer
- Insert after Line 17: They are equal!
- Delete Line 18: They are not equal!
- **********************************************************
- ********************************************************
- Below is the output from the Compiler:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement