B4Coder
0%
LessonAbout 7 min

Chapter 3 · Lesson 5 of 5

05. Choosing with switch

switch picks the code for one exact value, like a menu number. Each case ends with break, and default catches everything else.

Opening the lesson…