Language Algae
| Date: | 09/15/05 |
| Author: | caminoix |
| URL: | http://p2p.info.pl |
| Comments: | 0 |
| Info: | http://algae.sourceforge.net/ |
| Score: |
#Algae is a programming language for numerical analysis. It has been applied to problems
#in aerospace and related fields for more than a decade. - http://algae.sourceforge.net/
#If you like this script, I would be most grateful if you could visit
#http://p2p.info.pl/eng/index.php and click a Google ad ;)
for (count in 99:2){
if (count>2) {s="s"; else s="";}
printf(string(count)+" bottles of beer on the wall, "+string(count)+" bottles of beer.\n");
printf("Take one down and pass it around, "+string(count-1)+" bottle"+s+" of beer on the wall.");
printf("\n\n");
}
printf("1 bottle of beer on the wall, 1 bottle of beer.\n");
printf("Take one down and pass it around, no more bottles of beer on the wall.\n\n");
printf("No more bottles of beer on the wall, no more bottles of beer.\n");
printf("Go to the store and buy some more, 99 bottles of beer on the wall.\n\n");
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