Programming in Swift - Part 16: Part 2: Flow Control: | Ray Wenderlich

Practice using switch statements on your own, through a hands-on challenge.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3535-programming-in-swift/lessons/16

The where clause in the case statement on line 76 of the playground should be changed from

where myAge >= 61:

to

where age >= 61:

This topic was automatically closed after 166 days. New replies are no longer allowed.