Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language coco

Date:04/21/12
Author:camellia0x
URL:https://github.com/camellia0x
Comments:0
Info:https://github.com/satyr/coco
Score: (3.00 in 2 votes)
for z of [1 to 99]
 x = 100 - z 
 console.log """
 #x bottle#{if x is 1 then '' else 's'} of beer on the wall, #x bottle#{if x is 1 then '' else 's'}
of beer. 
 Take one down and pass it around, #{x - 1 or 'no more'} bottle#{if x is 1 then '' else 's'} of beer
on the wall.
 """ 

console.log """
 No more bottles of beer on the wall, no more bottles of beer.
 Go to the store and buy some more, 99 bottles of beer on the wall.
 """

Download Source | Write Comment

Alternative Versions

Comments

Download Source | Write Comment