Skip to content

nfmccrina/fizzbuzz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#NashFP polyglot fizzbuzz exercise

FizzBuzz was popularized in programming circles by this post from Jeff Atwood http://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html

The idea is you count from 1 to 100. If the number is evenly divisible by 3 you say "Fizz" instead of the number. If the number is evenly divisible by 5 you say "Buzz" instead of the number. If the number is evenly divisible by both 3 and 5 you say "FizzBuzz" instead of the number.

So the numbers from 1 to 20 would be read like so: 1,2,Fizz,4,Buzz,Fizz,7,8,Fizz,Buzz,11,Fizz,13,14,FizzBuzz,16,17,Fizz,19,Buzz

Contribute your solution by adding a folder name {your twitter handle}+{your language} such as "bryan_hunter+erlang".

Enjoy.

About

Polyglot FizzBuzz excercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 18.1%
  • Ruby 13.2%
  • Elixir 12.0%
  • Haskell 8.3%
  • Racket 8.3%
  • F# 7.3%
  • Other 32.8%