I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
99 bottles of beer

Write a program which will output the lyrics to the song 99 bottles of beer. http://99-bottles-of-beer.net/lyrics.html

To get the marks you MUST use a while loop….

hint – You will have to display x and x – 1 to get each verse to display correctly.

98 bottles of beer on the wall, 98 bottles of beer.
Take one down and pass it around, 97 bottles of beer on the wall.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Information