Skip to content · ⁨コンテンツへスキップ⁩

CASE chooses among values

  • CASE OF compares one variable against several values.
  • It is tidier than many IFs when each value gives a fixed result.
  • The block ends at ENDCASE.

CASE compares Grade against each value; Grade = 2 matches the Silver branch

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP