aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/switch/README.md
blob: edd7eca00c2ca255f577a0ab197d36c7c4954d09 (plain)
1
2
3
# Switch

`switch` is another control flow statement. It might be a more elegant solution than if when your flow depends on a variable. You can also have a `switch true` as well. Check out the exercises.