Fizz Buzz in Eiffel

Published on 19 January 2025 (Updated: 19 January 2025)

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

Current Solution

class
    fizz_buzz

create
    make

feature
    make
        do
            across 1 |..| 100 as i
            loop
                if i.item \\ 15 = 0 then io.put_string("FizzBuzz")
                elseif i.item \\ 5 = 0 then io.put_string("Buzz")
                elseif i.item \\ 3 = 0 then io.put_string("Fizz")
                else io.put_integer(i.item)
                end
                
                io.put_new_line
            end
        end
    end

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