Write a program that prints the numbers from 1 to 100. But for multiples of 3 print "Fizz" instead of the number and for the multiples of 5 print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/fizzbuzz
test/fizzbuzz/test
.gitignore
README.md
project.clj

README.md

fizzbuzz

Write a program that prints the numbers from 1 to 100. But for multiples of 3 print "Fizz" instead of the number and for the multiples of 5 print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".

Usage

lein run -m fizzbuzz.core

Inspiration

http://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html

Time: less than 10 minutes, most spent trying to figure out the Clojure if/else syntax properly.