Skip to content

iolivia/fizzbuzz

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
  • Perl
  • Prolog
  • Python3
  • Rust
  • Bash
  • Java
  • Scala
  • Scheme
  • Lua
  • HTML & CSS
  • D
  • Crystal
  • Elixir
  • C#
  • VBScript
  • Julia
  • C
  • XML/XSL
  • F#
  • Erlang
  • Clojure
  • Dart
  • Kotlin
  • OCaml

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