3 ms·
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.
by harpb 12y ago
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.
- areyousure 12y ago"For numbers which are multiples of both three and five print “FizzBuzz”."