Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
harpb
· 11y ago · 0 comments
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.
Comments
[–]
areyousure
11y ago
"For numbers which are multiples of both three and five print “FizzBuzz”."