From: sathish babu Date: 2011-12-31T04:22:22+09:00 Subject: Re: If else not working Stefano Crocco wrote in post #1038900: > > Replace > > mark = gets() > > with > > mark = gets().to_i > > and it'll work. > > I hope this helps > > Stefano Thanks a lot Crocco...! Understood and great explanation -- Posted via http://www.ruby-forum.com/.