Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
PSJ:While Example 1PSJ:
While Example 1
nopaneltrue

...