Summary
You're doing great! You learned how to use if
and switch
statements, which means you are now able to write your own programs that do different things based on different conditions.
You also learned about optionals and optional binding. This means you can now represent variables that may or may not have a value, and execute instructions only if a variable's value is present.
In the next chapter, you will study how to use a range of values instead of single values, and how to repeat program statements using loops.