B4Coder
0%
LessonAbout 6 min

Chapter 3 · Lesson 5 of 5

05. Picking from a menu: switch

switch picks one case by value: the classic form with case and break, and the shorter arrow form that gives back a value.

Opening the lesson…