Questions tagged [99-bottles-of-beer]

For questions about printing the lyrics to "99 bottles of beer".

Filter by
Sorted by
Tagged with
5 votes
1 answer
277 views

99 beers song in Rust

I'm learning Rust. I find it sometimes confusing when compared to other programming languages, especially when dealing with strings and slices. Her's an implementation of the 99 beer song that I've ...
Zorgatone's user avatar
  • 436
1 vote
2 answers
2k views

99 bottles of beer on the wall in Python 3

This is my try on the 99 bottles of beer on the wall lyrics, made in Python 3. I am a beginner willing to learn so be gentle :) ...
David Andrei's user avatar
5 votes
1 answer
174 views

C solution to "99 bottles" kata

I typically use high level programming languages like C# and JavaScript, but today I was doing the "99 bottles of beer" kata for an event using C. Below is my solution, which seems to work. Please let ...
Jeroen's user avatar
  • 1,441
5 votes
2 answers
635 views

99 Bottles of Beer using polymorphism

This was part of an exercise from exercism.io. If you fancy, view the repo here. Given problem statement: Write a program which produces the lyrics to that beloved classic, that field-trip ...
jsuth's user avatar
  • 857
76 votes
1 answer
6k views

NUMAH LITTERS OV KITTEHS ON TEH NETZ

It's not fair that 1% of the users hold 75% of the lolcode questions. #OccupyMatsMug ~ user2296177 I agree. Without further ado, here's the LOLCODE version of 99 bottles of beer on the wall: ...
Mast's user avatar
  • 13.1k
7 votes
2 answers
207 views

99 times drunk on Java

This is a rags-to-riches attempt from this question, based on the popular 99 Bottles of Beer, by (lightly) using Java 8's stream-based processing. Any room for improvement in terms of readability? I ...
h.j.k.'s user avatar
  • 19.2k
11 votes
3 answers
2k views

Beer song excercise

I'm reading the book Head First Java and got an assignment to re-create the 99 Bottles of Beer song according to those lyrics found in the URL. I've had to do this with a Java while loop. ...
Bas's user avatar
  • 699
9 votes
3 answers
496 views

n number of x on the y

Everyone knows "99 bottles of beer on the wall". Mat's Mug made a comment about mugs on the wall in The 2nd Monitor and I realized I never wrote a "beer on the wall" program. But that seemed way too ...
Mast's user avatar
  • 13.1k
2 votes
1 answer
140 views

99 bottles of beer on the wall + EcmaScript 6

Today, a solution written in Python was posted to this challenge, and since I was inspired by it, I made a version in EcmaScript 6. I tried to explore some new language constructs: arrow functions ...
André Werlang's user avatar
26 votes
2 answers
2k views

99 bottles of beer on the wall

I'm super new to this so please be nice. I tried solving Chris Pine's challenge to print the entire lyrics to 99 bottles of beer on the wall. This seems to work, but is there a better/more efficient ...
citylights's user avatar
36 votes
6 answers
10k views

Printing lyrics of 99 Bottles of Beer

I wrote a C++ program for 99 Bottles of Beer, but it's kind of messy. Is there any way I can make it short and cleaner and more easier to read? ...
Amession's user avatar
  • 547