8 lines
93 B
Crystal
8 lines
93 B
Crystal
stack = [] of Int32
|
|
(1..10).each do |x|
|
|
stack.push x
|
|
end
|
|
|
|
10.times do
|
|
puts stack.pop
|
|
end
|