Git Product home page Git Product logo

shlomif / fizz-buzz Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 73 KB

Sample and open source implementations of FizzBuzz in several languages

License: MIT License

C 5.34% Perl 8.95% Python 11.14% JavaScript 4.86% Java 5.81% Shell 20.10% C# 5.79% Go 5.50% Scheme 2.42% Ruby 4.95% Lua 5.13% Haskell 0.96% Rust 5.77% D 5.00% Awk 0.74% Makefile 0.17% CMake 0.97% Common Lisp 2.42% Pascal 2.91% Fortran 1.08%
fizzbuzz programmer language expat mit-license open-source foss floss rosetta hacktoberfest

fizz-buzz's Introduction

fizz-buzz

Sample and open source implementations of FizzBuzz in several languages, under the permissive MIT / Expat licence.

Build Status

What is FizzBuzz?

In short, FizzBuzz is a simple programming task, which most decent programmers are expected to be able to easily write, but, reportedly, most interviewed software development candidates cannot write it. It's a kind of litmus test for programmers.

For more information, see:

Description of the problem

Print the natural numbers from 1 to 100, one in each line, but if the number is divisible by 3 print "Fizz" (without the quotes) instead and if it is divisible by 5 print "Buzz" instead and if it is divisible by both 3 and 5, print "FizzBuzz".

Features of this project

  • Licensed under the permissive MIT / Expat licence.
  • Contains implementations in several popular and not-so-popular languages including C, Python, Perl 5, Ruby, sh, Java, C#, Awk, Scheme, D, Go, Rust, and Haskell.
  • Implementations are modular but not over-engineered.
  • Contains a test suite and uses Travis-CI.

Links

  • fizzbuzz by anglus - under the ISC licence and public domain, but the output is in all lowercase.

fizz-buzz's People

Contributors

invisiblerain avatar shlomif avatar sige11 avatar ssta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ssta

fizz-buzz's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.