Skip to content

Latest commit

 

History

History

quiz-5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

99 Bottles of Juice

Directions:

Write a loop that prints out the following song. Starting at 99, and ending at 1 bottle.

99 bottles of juice on the wall! 99 bottles of juice! Take one down, pass it around... 98 bottles of juice on the wall! 98 bottles of juice on the wall! 98 bottles of juice! Take one down, pass it around... 97 bottles of juice on the wall! ... 2 bottles of juice on the wall! 2 bottles of juice! Take one down, pass it around... 1 bottle of juice on the wall! 1 bottle of juice on the wall! 1 bottle of juice! Take one down, pass it around... 0 bottles of juice on the wall!

Some Notes:

  • Note the pluralization of the word "bottle" when you go from 2 bottles to 1 bottle.
  • Your text editor may try to autocorrect your ellipses ... to the ellipses character … Do not use the ellipses character for this quiz.