Re:FizzBuzz: the test helps filter out the 99.5% of programm...
by harpb on Tuesday December 23, 2014 @02:44PM
(#8789815)
The solution doesn't takes into consideration the 'fizzbuzz' output. Your solution would print both fizz and buzz when the int is divisible by both 3 and 5.
[ Parent
| on HN ]
Re:FizzBuzz: the test helps filter out the 99.5% of programm...
by areyousure on Tuesday December 23, 2014 @06:46PM
(#8790848)
"For numbers which are multiples of both three and five print “FizzBuzz”."