Xander Dumaine
  • Blog
  • About Me
  • Projects
  • Résumé
  • Books
Sign in Subscribe

code-golf

A collection of 1 post
software

FizzBuzz Code Golf in JavaScript

The FizzBuzz problem is defined as: > For the numbers 1 to 100, print "fizzbuzz" if the number is divisible by 3 and 5, "fizz" if it's only divisible by 3, "buzz" if it's only divisible by 5, and nothing if it's divisible by neither 3 nor 5. Each printed word
Oct 31, 2013 1 min read
Page 1 of 1
Xander Dumaine © 2023
  • Software
  • Health
Powered by Ghost