Write a C++ program to print the to top element in the stack.
Note:
Get stack elements. Pop the top element. Print popped element.
Input Format:
Input Consists of an Integer.
Output Format:
Output Consists of an Integer.
Sample Input:
3
10
20
30
Sample Output:
30
Answers
Answered by
0
Answer:
jklafskadjfalkjf asjkfasjflasf klfj dskfjlsaf sdkjlf
Explanation:
Similar questions