GitXplorerGitXplorer
c

fizzbuzz

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0b48762febcf176e852197144ff3d102eb1fe432

Initial commit

ccacoco committed 13 years ago

README

The README file for this repository.

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.