π¨βπ Codecademy Certification: Learn Swift
π Project Type: Certification Project
π Date Completed: May 2025
FizzBuzz is a classic logic problem that prints numbers from 1 to 100. For multiples of 3, it prints "Fizz", for multiples of 5 "Buzz", and for numbers divisible by both, it prints "FizzBuzz". This Swift implementation practices conditional statements and modulus operators.
- Looping with
for - Modulus
%operator - Conditional logic with
if/else if/else - Swift syntax for logic problems
swift fizzbuzz.swift