Tag Archives: programmer

(Haskell) FizzBuzz

The dread FizzBuzz question — really, a test if your average programmer knows his or her FOR loops. The spec is that you’re counting from 1 to 100. Your program should print out “fizz” if the index is divisible by three, and “buzz” if it’s divisible by five, and “fizzbuzz” if it’s divisible by both. [...]

Posted in Haskell | Also tagged , , , , | Leave a comment