Fizz Buzz in Dg

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

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

Current Solution

fizz_buzz = n -> if
    n % 15 == 0 => "FizzBuzz"
    n % 3  == 0 => "Fizz"
    n % 5  == 0 => "Buzz"
    otherwise   => n

main = start end ruleset ->
    for i in range start (end + 1) =>
        print <| ruleset i

main 1 100 fizz_buzz

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