A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
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.
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.
No 'How to Implement the Solution' section available. Please consider contributing.
No 'How to Run the Solution' section available. Please consider contributing.