Desafío
Escriba un programa que emita la letra de 99 Bottles of Beer, pero en lugar de "beer", emita "fizz" si el número de botellas en la pared es múltiplo de 3, "zumbido" si es múltiplo de 5, y "fizzbuzz" si es un múltiplo de 3 y un múltiplo de 5. Si el número de botellas en la pared no es un múltiplo de 3 o 5, simplemente emita "cerveza" como de costumbre.
Letra
99 bottles of fizz on the wall, 99 bottles of fizz.
Take one down and pass it around, 98 bottles of beer on the wall.
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.
97 bottles of beer on the wall, 97 bottles of beer.
Take one down and pass it around, 96 bottles of fizz on the wall.
96 bottles of fizz on the wall, 96 bottles of fizz.
Take one down and pass it around, 95 bottles of buzz on the wall.
95 bottles of buzz on the wall, 95 bottles of buzz.
Take one down and pass it around, 94 bottles of beer on the wall.
....
3 bottles of fizz on the wall, 3 bottles of fizz.
Take one down and pass it around, 2 bottles of beer on the wall.
2 bottles of beer on the wall, 2 bottles of beer.
Take one down and pass it around, 1 bottle of beer on the wall.
1 bottle of beer on the wall, 1 bottle of beer.
Go to the store and buy some more, 99 bottles of fizz on the wall.
Este es el código de golf , por lo que gana la presentación más corta en cada idioma.