aesmi / shortest-fizzbuzz

Contains shortest solutions to fizzbuzz in various programming languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shortest-fizzbuzz

Contains shortest solutions to fizzbuzz in various programming languages


Rules:

"Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”." To learn more and see clean versions, see: https://wiki.c2.com/?FizzBuzzTest


Languages:

Contributing:

  1. Alphabetically add your addition here to README.md in the format [<language name>](<file-name>), <number-of-bytes> bytes. GitHub tells you the number of bytes for any file.
  2. Add a file to the root of the repo in the form of: <language-name>.<file-extension> that satisfies the rules above.

Notes:

Try to write a detailed commit message.

If possible make sure you end your file with a newline at the end and are using LF as opposed to CRLF Line sequences.

Feel free to improve on existing solutions if you can do better :)

About

Contains shortest solutions to fizzbuzz in various programming languages


Languages

Language:Swift 14.0%Language:Scheme 12.7%Language:Go 9.7%Language:Elm 8.7%Language:Java 7.7%Language:Common Lisp 7.3%Language:PHP 7.2%Language:C++ 6.8%Language:Rust 5.5%Language:C 4.0%Language:Dart 3.6%Language:Python 3.5%Language:R 3.2%Language:Ruby 2.4%Language:JavaScript 1.9%Language:Raku 1.6%