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 JOSS

Date:04/20/05
Author:Laurent Vogel
URL:http://lvogel.free.fr/
Comments:0
Info:n/a
Score: (3.00 in 432 votes)
Form 1: "   JOSS version of 99 bottles of beer      "
Form 1: "   Laurent Vogel,  http://lvogel.free.fr   "

Form 1: "%.0f "
Form 2: "No more bottles of beer"
Form 3: "bottle of beer"
Form 4: "bottles of beer"
Form 5: " on the wall,\n"
Form 6: ".\nTake one down, pass it around,\n"
Form 7: " on the wall.\n\n"

3.1 Type a in form 1 if a>0.
3.2 Type in form (a<2: a+2; 4).

2.1 Do part 3.
2.2 Type in form 5.
2.3 Do part 3.
2.4 Type in form 6.
2.5 Set a=a-1.
2.6 Do part 3.
2.7 Type in form 7.

Set a=99.
Do part 2 while a>0.
Stop.

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: