Guest User

Untitled

a guest
Feb 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. puts 'how many bottles of beer do you have'
  2. bottles = gets.chomp
  3. newbottles = bottles.to_i - 1
  4. puts bottles.to_s + ' bottles of beer on the wall! ' + bottles.to_s + ' bottles of beer on the wall! Take one down pass it around ' + newbottles.to_s + ' bottles left!'
Add Comment
Please, Sign In to add comment