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 e

(Verisity Verification Language)

Date:06/06/05
Author:Frank Oberhoff
URL:n/a
Comments:0
Info:http://www.ieee1647.org/about.html
Score: (2.97 in 33 votes)
<'
// 99 Bottles of beer
// By Frank Oberhoff

extend sys  {
   run() is also {
      for i from 99 down to 1 do {
         outf ("%0d bottles of beer on the wall,\n", i);
         outf ("%0d bottles of beer,\n", i);
         out ("Take one down and pass it around,");
         if i == 1 {
            out ("No more bottles of beer on the wall.");
            outf ("\n");
         }
         else {
            outf ("%0d bottles of beer on the wall.\n", i-1);
            outf ("\n");
         };
      };
      out ("Go to the store and buy some more");
   };
};

'>

Download Source | Write Comment

Alternative Versions

Comments

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: