Fizz Buzz in ALGOL 60

Published on 17 March 2026 (Updated: 17 March 2026)

Welcome to the Fizz Buzz in ALGOL 60 page! Here, you'll find the source code for this program as well as a description of how the program works.

Current Solution

begin
    integer procedure mod(x, n);
    value x, n;
    integer x, n;
    begin
        mod := x - n * (x % n)
    end mod;

    integer i;
    for i := 1 step 1 until 100 do
    begin
        if mod(i, 15) = 0 then outstring(1, "FizzBuzz")
        else if mod(i, 3) = 0 then outstring(1, "Fizz")
        else if mod(i, 5) = 0 then outstring(1, "Buzz")
        else outinteger(1, i);
        outstring(1, "\n")
    end
end

Fizz Buzz in ALGOL 60 was written by:

If you see anything you'd like to change or update, please consider contributing.

How to Implement the Solution

No 'How to Implement the Solution' section available. Please consider contributing.

How to Run the Solution

No 'How to Run the Solution' section available. Please consider contributing.