Language HP 48 Calculator
Date: | 04/20/05 |
Author: | Jeromy Carriere |
URL: | n/a |
Comments: | 0 |
Info: | n/a |
Score: | (2.00 in 6 votes) |
Courtesy Jeromy Carriere (jayc@bnr.ca) << 10 1 FOR k IF k 1 == THEN "1 bottle of beer on the wall." "1 bottle of beer." ELSE " bottles of beer on the wall." 1 k ->STR REPL " bottles of beer." 1 k ->STR REPL END "Take one down and pass it around." IF k 1 == THEN "No more bottles of beer on the wall." ELSE IF k 2 == THEN "1 bottle of beer on the wall." ELSE " bottles of beer on the wall." 1 k 1 - ->STR REPL END END -1 STEP >>
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