Fizz Buzz in Pascal

Published on 28 April 2022 (Updated: 18 September 2022)

Fizz Buzz in Pascal

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

Current Solution

program FizzBuzz(output);
var
   i : integer;
begin
   for i := 1 to 100 do
      if i mod 15 = 0 then
         writeln('FizzBuzz')
      else if i mod 3 = 0 then
         writeln('Fizz')
      else if i mod 5 = 0 then
         writeln('Buzz')
      else
         writeln(i)
end.

Fizz Buzz in Pascal 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.