Skip to content

Instantly share code, notes, and snippets.

@zakki
Created July 13, 2011 11:26
Show Gist options
  • Save zakki/1080130 to your computer and use it in GitHub Desktop.
Save zakki/1080130 to your computer and use it in GitHub Desktop.
fizzbuzz
for(n<-0 to 99)println(Seq(n+1,"Fizz","Buzz","FizzBuzz")(n%3/2+n%5/4*2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment