Skip to content
← Index | Lesson 5 of 5

FizzBuzz

Challenge: FizzBuzz

Classic logic exercise:

  • If divisible by 3 and 5: "FizzBuzz"
  • If divisible by 3: "Fizz"
  • If divisible by 5: "Buzz"
  • Otherwise: the number

Goal: Implement FizzBuzz from 1 to 15.

lesson-3-5.zolo
Program output

Run the code to see the output

Search Zolo

9 results

enespt-br