<

Switch Statement

Posted on
6,137 Points
137 Views
Last Modified:
Published
Experience Level: Beginner
4:58
After learning about conditional statements, viewers are now ready to create a switch statement. A switch statement is based on the same concept but is more efficient and easier to read once understood. Furthermore, it can address cases much more specifically.

Video Steps

1. Conditional vs Switch

2. Switch statement definition

3. Example

4. Testing

5. Alternate Coding with Conditional Statements

6. Differences and Improvements

0
0 Comments

Suggested Videos

Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
This article presents an AutoHotkey (V1) script that detects when a USB drive is inserted or removed. It displays a pop-up dialog and makes a logfile entry in each case. It provides a system tray (notification area) icon with context menu choices to…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month