fiz
github.com/iolivia/fizzbuzz
go get github.com/iolivia/fizzbuzz
fiz

github.com/iolivia/fizzbuzz

FizzBuzz in all the languages

go get github.com/iolivia/fizzbuzz
Readme

FizzBuzz around the world in all languages

Overview

You've most likely heard of FizzBuzz, the very simple programming challenge used in interviews to see if someone can code or not. But if you haven't, here it is.

Write a short program that prints each number from 1 to 100 on a new line. For each multiple of 3, print "Fizz" instead of the number. For each multiple of 5, print "Buzz" instead of the number. For numbers which are multiples of both 3 and 5, print "FizzBuzz" instead of the number.

This repo is about implementing FizzBuzz in as many languages as possible.

Languages

  • Ada
  • Brainfuck (partial implementation)
  • Go
  • Haskell
  • JavaScript (node)
  • LOLCODE
  • Prolog
  • Python3
  • Rust
  • Bash
  • Java
  • Scala
  • Scheme
  • Lua
  • HTML & CSS
  • D
  • Crystal
  • Elixir
  • C#
  • VBScript
  • Julia
  • C
  • XML/XSL
  • F#
  • Erlang
  • Clojure
  • Dart

Contributing

If you feel like wasting an afternoon learning an esoteric language (or even a normal one), or writing some tests, please submit a PR.

License

MIT

GitHub Stars

12

LAST COMMIT

1yr ago

MAINTAINERS

0

CONTRIBUTORS

11

OPEN ISSUES

0

OPEN PRs

1
VersionTagPublished
v0.0.0-20210626084845-5873607ef5a0
10mos ago
No alternatives found
No tutorials found
Add a tutorial