Library tutorials & articles

99 Bottles

Introduction

While looking up other things, I came across an interesting site that contained programs written in 303 different programming languages, all of which output the song "99 Bottles of Beer On the Wall." Go take a look at the list, it's actually very entertaining and educational. For those of you unfamiliar with the song, it goes as follows:

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

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

And so it goes until there are no more bottles of beer on the wall.

When I found the page I saw that there was a C# implementation listed, but I didn't like it. It just didn't capture the spirit of the language. So, I got to work, and wrote what I thought would be a good C# solution.

Comments

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of 99 Bottles.

Leave a comment

Sign in or Join us (it's free).

Paul Parks

We'd love to hear what you think! Submit ideas or give us feedback