#!/usr/bin/ruby # # This Infamous 99 bottle of beer # Song in ruby puts "It's beer song time!" beer = 100 less = 99 98.times do beer -= 1 less -= 1 puts beer.to_s + " bottles of beer on the wall, " \ + beer.to_s + " bottles of beer! Take one down \ pass it around, " + less.to_s + " bottles of " + \ "beer on the wall!" end puts "1 bottle of beer on the wall, 1 bottle of beer! Take one" \ + " down pass it around, No more bottles of beer on the wall :("