Skip to content

A Swift implementation of the classic FizzBuzz problem, created as part of Codecademy's Learn Swift course.

Notifications You must be signed in to change notification settings

CarterBartz/swift-fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ Swift FizzBuzz

πŸ‘¨β€πŸŽ“ Codecademy Certification: Learn Swift
πŸ“ Project Type: Certification Project
πŸ“… Date Completed: May 2025


🧠 Overview

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.


🧱 Skills Demonstrated

  • Looping with for
  • Modulus % operator
  • Conditional logic with if / else if / else
  • Swift syntax for logic problems

πŸš€ How to Run

swift fizzbuzz.swift

About

A Swift implementation of the classic FizzBuzz problem, created as part of Codecademy's Learn Swift course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages