Language Coffee
| Date: | 04/20/05 |
| Author: | dingo |
| URL: | n/a |
| Comments: | 2 |
| Info: | n/a |
| Score: |
// Coffee programming language version 0.98a
// by dingo www.TheBrownStuff.co.nr
var i new int = 99;
while (i > 0) {
if (i > 1) {
println(i+" bottles of beer on the wall,");
println(i+" bottles of beer,");
println("Take one down, pass it around,");
println((i--)+" bottles of beer on the wall.");
} else {
println("One more bottle of beer on the wall,");
println("One more bottle of beer,");
println("Take it down, pass it around,");
println("No more bottles of beer on the wall.");
i--;
}
}
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments
Thanks, gneek.