Question: Write a program that prints the numbers from 1 to 100. But for multiples of three, print Fizz instead of the number, and for the
Write a program that prints the numbers from 1 to 100. But for multiples of three, print "Fizz" instead of the number, and for the multiples of five, print "Buzz". For numbers that are multiples of both three and five, print "FizzBuzz".
Step by Step Solution
3.52 Rating (159 Votes )
There are 3 Steps involved in it
The code attached will print the numbers 1 to 100 But for ... View full answer
Get step-by-step solutions from verified subject matter experts
