switch Statements
In this lesson, we will learn all about switch statements, their use, and syntax.
What are switch
statements?
A switch
statement is a unique conditional statement that allows a variable to be tested for equality against a list of values. Each value is called a case
.
The variable is checked for each ...