[Solved]9 Finally Creating Objects Showinfo0 Function Employee Called Show Information Screen Int Q37188400


We were unable to transcribe this image9. Finally, after creating the objects, the show_info0 function of each employee should be called, to show their information on screen. for ( int i=0 ; i«NUM . EMPLOYEES; İ++ ) EmployeeList[i]->show_info) Compile this code and note the output. Make sure you understand the use of the public, private and protected keywords as well as the virtual functions. Upload the labl2p3.cpp file to Canvas 1.4 Exercise 4 After testing the correct operation of the previous exercise, you have to modify the program to ask the user the number of employees to be created and to request all data from the newly created object (name, salary, position or degree, etc. depending on the type of object to be created). First copy the lab12p3.cpp file to lab12p4.cpp and then make the changes below: You must make the main program to have a menu with the following options: 1. 1. Choose what type of employee to create: Manager, Officer or Technician. 2. 2 Make a list of all the employees introduced. 3. 3.Search for a specific employee by name, and 4. 4. Exi from the program. Remember that all objects should be stored in the list EmployeeList and it must have a unique variable counter to keep track of the objects created. Test that your program works correctly. Then upload the finished lab12p4.cpp file Canvas Show transcribed image text
9. Finally, after creating the objects, the show_info0 function of each employee should be called, to show their information on screen. for ( int i=0 ; i«NUM . EMPLOYEES; İ++ ) EmployeeList[i]->show_info) Compile this code and note the output. Make sure you understand the use of the public, private and protected keywords as well as the virtual functions. Upload the labl2p3.cpp file to Canvas 1.4 Exercise 4 After testing the correct operation of the previous exercise, you have to modify the program to ask the user the number of employees to be created and to request all data from the newly created object (name, salary, position or degree, etc. depending on the type of object to be created). First copy the lab12p3.cpp file to lab12p4.cpp and then make the changes below: You must make the main program to have a menu with the following options: 1. 1. Choose what type of employee to create: Manager, Officer or Technician. 2. 2 Make a list of all the employees introduced. 3. 3.Search for a specific employee by name, and 4. 4. Exi from the program. Remember that all objects should be stored in the list EmployeeList and it must have a unique variable counter to keep track of the objects created. Test that your program works correctly. Then upload the finished lab12p4.cpp file Canvas
Expert Answer
Answer to 9. Finally, after creating the objects, the show_info0 function of each employee should be called, to show their informa… . . .
OR

