Phillip Gawlowski wrote in post #1014267: > On Mon, Aug 1, 2011 at 10:08 PM, Marc Chanliau <marc.chanliau / gmail.com> > wrote: >> my_fact = gets.to_i >> puts "factorial: #{fact(my_fact)}" > > Let's fix your code: Thanks, very useful suggestions! -- Posted via http://www.ruby-forum.com/.