Skip to content · ⁨Lompat ke konten⁩

Selection: CASE · ⁨Seleksi: CASE⁩

English

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.
Bahasa Indonesia

CASE OF memilih satu cabang

  • Sebuah CASE menjalankan cabang yang nilainya cocok dengan variabel.
  • Cabang-cabang diuji secara berurutan. Kecocokan pertama berjalan, dan sisanya dilewati.
  • OTHERWISE adalah cabang untuk setiap nilai lain. Ia berada terakhir.

Handout · ⁨Lembar Kerja⁩

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP