def sing counter=99 while counter!=0 puts counter.to_s + " bottles of beer on the wall, " + counter.to_s + " bottles of beer," puts "and if one of the bottles happens to fall, " counter-=1 puts "there's " + counter.to_s + " bottles of beer on the wall" puts end end sing ## ============================================================== ##