Language Alice Pascal
| Date: | 04/20/05 |
| Author: | Anonymous |
| URL: | n/a |
| Comments: | 1 |
| Info: | http://www.templetons.com/brad/alice.html |
| Score: |
program Bottles(input, output);
{ Alice Pascal version of 99 Bottles of beer (Bottles.ap) }
{ See http://www.templetons.com/brad/alice.html }
{ Philipp Winterberg, http://www.winterbergs.de }
var
b : Byte;
begin
b := 99;
repeat
writeln(b:2, ' bottle(s) of beer on the wall,');
writeln(b:2, ' bottle(s) of beer');
writeln('Take one down, pass it around,');
b := b - 1;
writeln(b:2, ' bottle(s) of beer on the wall.');
writeln('');
until b = 0;
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