Page 1 of 1

Create a class mystack using vector to store integers in a stack. Add the following methods - ADDO REMOVEO PRINTO exampl

Posted: Mon May 09, 2022 7:01 am
by answerhappygod
Create A Class Mystack Using Vector To Store Integers In A Stack Add The Following Methods Addo Removeo Printo Exampl 1
Create A Class Mystack Using Vector To Store Integers In A Stack Add The Following Methods Addo Removeo Printo Exampl 1 (42.92 KiB) Viewed 29 times
Create a class mystack using vector to store integers in a stack. Add the following methods - ADDO REMOVEO PRINTO example use: mystack s; S.ADD(5); S.ADD(6); S.ADD(7); S.REMOVE(); //this will remove 7 S.PRINT(); //this prints the whole stack which is 5,6