Skip to content

Stack

storing

Level 1 of 3

Also called Last in, first out.

Numbers piled one on another, like plates. You put a number on the top, and you can only take the top one off, so the last one in is the first one out.

put on
0
taken off
0

step 1 of 1

Examples

A number from 1 to 99 puts it on the pile, and a dash on its own takes the top one off. Up to 12 of them, separated by commas or spaces, for example 5, 3, -, 8.