Question: Implement a stack using STL. Your program should take the details of a Book from the user such as bookname, author etc. and store them
Implement a stack using STL. Your program should take the details of a Book from the user such as bookname, author etc. and store them in the stack one by one. Once all books have been stored in the stack, using the display function; show on the console and then remove all values from stack to then display stack is empty. class/struct Book{ string bookname; string authorname; }; NOTE: DO IN C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
