Language FirstBasic
Date: | 04/20/05 |
Author: | Philipp Winterberg |
URL: | http://www.winterbergs.de/ |
Comments: | 1 |
Info: | http://www.powerbasic.com/ |
Score: | (1.62 in 13 votes) |
' FirstBasic/PowerBasic version of 99 Bottles of beer (Bottles.bas) ' See http://www.powerbasic.com/ ' Philipp Winterberg, http://www.winterbergs.de KEY OFF : COLOR 7, 0 : CLS FOR b% = 99 TO 1 STEP -1 PRINT STR$(b%) + " bottle(s) of beer on the wall," PRINT STR$(b%) + " bottle(s) of beer." PRINT "Take one down, pass it around," PRINT STR$(b%-1) + " bottle(s) of beer on the wall." PRINT " " NEXT b% END
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
barrym said on 03/29/10 06:24:48
More lazy-ass "bottle(s)" code. C'mon Phil, give us a conditional
expression or two. Geez Louise..........