Language c-smile
Date: | 07/26/05 |
Author: | Andrew (Andrei) Fedoniouk |
URL: | http://terrainformatica.com |
Comments: | 3 |
Info: | http://c-smile.sourceforge.net/ |
Score: | ![]() |
// C-SMILE version of 99 Bottles of beer (99bottles.csp) // (http://c-smile.sourceforge.net). // Andrew Fedoniouk, http://www.terrainformatica.com function main() { var b = 99; while (b > 0) { std::out.printf("%d bottle(s) of beer on the wall,\n",b); std::out.printf("%d bottle(s) of beer.\n",b); std::out.printf("Take one down, pass it around,\n"); std::out.printf("%d bottle(s) of beer on the wall.\n\n",--b); } return 0; }
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
You fucked up.
expression or two. Geez Louise..........