On Thu, Feb 25, 2010 at 6:43 AM, Alexander Antonakakis <alexis / maich.gr>wrote: > Josh Cheek wrote: > > Sorry, computer lagged and I hit 'send' rather than clicking in the > > window > > to edit. > > Thanks Josh :) > -- > Posted via http://www.ruby-forum.com/. > > lol, you're welcome. But I just saw that it prints an empty line for the empty room. That's what I get for not testing. Try adding this line to the beginning of the block: next( puts "empty room" ) if men.zero? && children.zero?