Skip to content

Instantly share code, notes, and snippets.

@nbashaw
Created October 8, 2010 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nbashaw/617632 to your computer and use it in GitHub Desktop.
Save nbashaw/617632 to your computer and use it in GitHub Desktop.
num = 100
while num >= 1
num = num - 1
puts num.to_s + ' bottles of beer on the wall, ' + num.to_s + ' bottles of beer! Take one down, pass it around, ' + (num - 1).to_s + ' bottles of beer on the wall!'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment