Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created January 15, 2012 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegopacheco/1616769 to your computer and use it in GitHub Desktop.
Save diegopacheco/1616769 to your computer and use it in GitHub Desktop.
Functional Society - Fizz Buzz Homework

This gist and a Functional Society Gist to talk about Fizz buzz homework, so people can share links and help each other to get the homework right and make questions, get you question answered and so on and on...

Fizz Buzz Homework

Fizz Buzz(French Problem)(Remember State and Side Effects are not desired):

  • Every number that is multiples of 3 - use "fizz"
  • Every number that is multiples of 5 - use "buzz"
  • Every number that is multiples of 3 and 5 - use "fizz buzz"
  • Sample: (1,2,fizz,4,buzz,fizz,7,8,fizz,buzz,11,fizz,13,14,fizz buzz)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment