Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Swift: Conditionals and Loops

via Codecademy

Overview

Continue your Swift journey by learning conditionals and loops!
Continue your Swift learning journey! Learn how to use Swift's conditionals to set up logical decision-making programs that can address real-world scenarios. Then take on loops to handle repetitive tasks. This course will give you the tools you need to make flexible and dynamic programs!



### Take-Away Skills
By the end of this course, you will be able to:
* Control the program flow using `if`, `else if`, `else`, `switch`, and the ternary conditional operator.
* Create decision-making programs using comparison and logical operators.
* Implement loops to automate repetitive tasks.

### Notes on Prerequisites
We recommend that you complete [Learn Swift: Variables](https://www.codecademy.com/learn/learn-swift-variables) before completing this course.

Syllabus

  • Conditionals & Logic: Learn how to develop complex programs in Swift with conditionals and logical operators.
    • Lesson: Conditionals
    • Quiz: Conditionals
    • Lesson: Logical Operators
    • Quiz: Logical Operators
    • Project: Magic 8-Ball
  • Loops: Make the most repetitive tasks easier by learning Swift loops!
    • Lesson: Loops
    • Quiz: Loops
    • Project: Whale Talk
    • Project: 99 Bottles of Milk
    • Project: Fizz Buzz
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.7 rating at Codecademy based on 46 ratings

Start your review of Learn Swift: Conditionals and Loops

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.