From: "Matthew K. Williams" Date: 2009-07-28T02:22:17+09:00 Subject: Re: I just can't understand why this program is not working On Tue, 28 Jul 2009, Prateek Agarwal wrote: > Thanks for the help man. Can you tell me how to input ints? Here's one way; there's more, I'm sure: irb(main):005:0> s=gets 1 => "1\n" irb(main):006:0> s.class => String irb(main):007:0> s=s.to_i => 1 irb(main):008:0> s.class => Fixnum Matt