Challenge 5: fizzBuzz!
Write a function named fizzBuzz (n) that logs each number from 1 to n.
However, for each multiple of 3, log "Fizz" instead of the number. For each multiple of 5, log "Buzz" instead of the number. For numbers that are multiples of both 3 and 5, log "FizzBuzz" instead of the number.
Here is an example of how you can test your function with the input 20
And here is what you should see as output after you write proper code for this challenge:
1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz
fizzBuzz(20)