Lessons
C++ · Ready-made Containers · 39. Stack and Queue
step 1 of 6
A pile of plates
A stack is a pile of plates. push puts one on top. top shows the top one.
I can only see the top plate. The rest hide underneath.
Mission
Put a gold plate on the pile, then RUN.
PIP·1
main.cppyour code
1
2
3
4
5
6
7
8
9
10
11
12
13
← press me!
Press RUN to see what this program does.