Skip to content

Selection: CASE

CASE OF picks one branch

  • A CASE runs the branch whose value matches the variable.
  • Branches are tested in order. The first match runs, and the rest are skipped.
  • OTHERWISE is the branch for every other value. It comes last.

Handout

Log in or create account

IGCSE, A-Level & AP