Please use c++ and show your output. Lot of answers are not working. thanks. Ple
ID: 3802374 • Letter: P
Question
Please use c++ and show your output. Lot of answers are not working. thanks.
Please note if you do not know dont answer it.
Task 2:
Implement a stack using a vector or the STD ::stack:: class
Note the difference in what it takes to implement using a static char[] array vs a vector or the STD ::stack:: class
The user will input a string and the program will output the string backwards. Displaying correct Stack implementation.
Utilize the conventional static methods as needed.
push()
pop()
empty()
peek()
peek()
Sample Execution
Please input String:
happy
yppah
Explanation / Answer
or