FizzBuzz
Easy · Control Flow
Multiples of 3 → "Fizz", of 5 → "Buzz", of both → "FizzBuzz", else the number as a string (String(n)). Check 15 first.
Write fizzBuzz(_:).
Next: Sum of an Array
Easy · Control Flow
Multiples of 3 → "Fizz", of 5 → "Buzz", of both → "FizzBuzz", else the number as a string (String(n)). Check 15 first.
Write fizzBuzz(_:).
Next: Sum of an Array