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 Coffee

Date:04/20/05
Author:dingo
URL:n/a
Comments:2
Info:n/a
Score: (3.00 in 10 votes)
// 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

Alternative Versions

Comments

>>  Laura said on 02/26/08 15:10:08

Laura That is the whole program? Wow.. if it works that might be the simplest language I've ever seen.

>>  gneek said on 07/01/08 03:37:29

gneek Where can you get a compiler for this? The link in the source redirects to some other website that apparently has nothing to do with Coffee.

Thanks, gneek.

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!

Name:

eMail:

URL:

Security Code:
  
Comment: