Create templates for a dynamic stack that can hold objects


Problem:

Design an employee class that stores the following members:

Idnum: employee id number

Name: employee name

Salary: employee salary

Get_employee gets info of the employee

Use constructor and destructor, overloading operator <<, and any other methods that you need.

Create templates for a dynamic stack that can hold objects of the class described above along with any other data types. The program should have a loop that asks the user if he or she wishes to add or drop an employee.

At any stage, user should able to display the stack contents. When the user finishes the program, it should display the final contents of the stack.

Test your program for set of 5 names.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create templates for a dynamic stack that can hold objects
Reference No:- TGS02898354

Expected delivery within 24 Hours