Hello!
Technically, the expected behavior is not clear from description.
A) should the program print word instead the number
or
B) should the program print both a number and a word
Task from business:
Write a program that prints the numbers from 1 to 100 and for multiples of ‘3’ print “Fizz” instead of the number and for the multiples of ‘5’ print “Buzz”.
Hello! Technically, the expected behavior is not clear from description. A) should the program print word instead the number or B) should the program print both a number and a word
the original game describes complete replacement https://en.wikipedia.org/wiki/Fizz_buzz
Task from business: Write a program that prints the numbers from 1 to 100 and for multiples of ‘3’ print “Fizz” instead of the number and for the multiples of ‘5’ print “Buzz”.