The switch statement is somewhat similar to an if/else statement but can be easier
to read when there are many different possible conditionsWhile loops are similar to for loops but it can be easier (or sometimes the only way) to determine how many times the loop should go.
Example 1
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...