B4Coder
0%
LessonAbout 6 min

Chapter 3 · Lesson 5 of 5

05. Picking from a menu: switch

switch compares one value with a list of cases and runs the matching one. End each case with break, and use default for the rest.

Opening the lesson…