Fizz Buzz: A Coding Challenge.
Write a program that prints numbers from 1 to the desired ending value. But for multiples of the first number print “Fizz” and for the multiples of the second number print “Buzz”. For numbers which are multiples of both numbers print “FizzBuzz”.
- Enter the first number. If this number is a multiple it will print "Fizz"
- Enter a second number. If this number is a multiple it will print "Buzz"
- Enter an ending number. The results will print 1 to whatever number you input to a max of 1000.