Language ALGOL 60
(A shorter version using Unisys MCP Algol)
| Date: | 03/03/08 |
| Author: | Paul Kimpel |
| URL: | http://www.digm.com |
| Comments: | 0 |
| Info: | http://public.support.unisys.com/aseries/docs/ClearPath-MCP-11.0/PDF/86000098-507.pdf |
| Score: |
% Unisys MCP Algol version of 99 Bottles, using remote file I/O.
begin
integer i;
file stdout(kind=remote);
for i:= 99 step -1 until 1 do
write(stdout, <j3," bottle(s) of beer on the wall, ",
j3," bottle(s) of beer."/
"Take one down and pass it around,"/
j3," bottle(s) of beer on the wall.">, i, i, i-1);
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