Index
layout: default
title: Conditionals: switch
Objectives¶
- Use
switchto choose an execution path based on a value. - Understand when to use
switchvs.ifstatements.
Topics¶
switchStatements: Multi-Way Decisionsbreak;anddefault:inswitchStatements- When to Use a
switchControl Statement - Labs