Back to task

83 symbols ruby2.0
Fri Aug 8 21:09:40 2014 Nakilon
@stack = []
def add x
  @stack.push x
end
def pop
  puts @stack.pop
end
eval gets p

good approach!

Fri Aug 8 21:34:09 2014


Leave a comment

Parsed as Markdown

Login to leave a comment