A switch statement compares one variable against multiple constant values. I'll show you when it's clearer than many else if statements checking the same variable. You write switch (variable) then list cases for each possible value.
Each case is a constant like a number or character, not a range or expression. Switch works best when you have many specific values to check. Examples: menu options switch (choice), day of week switch (dayNum), or command characters switch (cmd).