/fizzbuzz

FizzBuzz in all the languages

Primary LanguageBrainfuck

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