Fizz Buzz in Pascal

Published on 11 October 2018 (Updated: 11 October 2018)

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.