Question: iven a number n , for each integer / in th ange from 1 to n inclusive, print one val er line as follows: If
iven a number for each integer in th ange from to inclusive, print one val er line as follows:
If is a multiple of both and print FizzBuzz.
If is a multiple of but not print Fizz If is a multiple of but not print Buzz If is not a multiple of or print the value of
nction Description
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
