- Print all numbers 1-10 to the screen.
- Print all numbers 1-10 to the screen.
- For multiples of 3, print "Fizz" instead of the number
- Print all numbers 1-10 to the screen.
- For multiples of 3, print "Fizz" instead of the number
- For multiples of 5, print "Buzz" instead of the number
- Print all numbers 1-10 to the screen.
- For multiples of 3, print "Fizz" instead of the number
- For multiples of 5, print "Buzz" instead of the number
- For multiples of 3 and 5, print "FizzBuzz" instead of the number
- Create a function which takes the argument
max - Print all numbers 1-
max(the argument passed in) to the screen - For multiples of 3, print "Fizz" instead of the number
- For multiples of 5, print "Buzz" instead of the number
- For multiples of 3 and 5, print "FizzBuzz" instead of the number
- Create a function which takes the argument
minandmax - Print all numbers
min-max(the arguments passed in) to the screen - For multiples of 3, print "Fizz" instead of the number
- For multiples of 5, print "Buzz" instead of the number
- For multiples of 3 and 5, print "FizzBuzz" instead of the number
- Create a function which takes the argument
minandmax - The function can also take the arguments
num1andnum2 - Print all numbers
min-max(the arguments passed in) to the screen - For multiples of
num1, print "Fizz" instead of the number - For multiples of
num2, print "Buzz" instead of the number - For multiples of
num1andnum2, print "FizzBuzz" instead of the number