Skip to content · ⁨ข้ามไปยังเนื้อหา⁩
English

Making a decision

  • Selection means choosing what to do, based on a test.
  • An if runs its block only when the test is true.
  • The test gives a Boolean: True or False.
ไทย

การตัดสินใจเลือก

  • Selection หมายถึงการเลือกสิ่งที่要做取决于一个测试。
  • คำสั่ง if จะรันบล็อก ก็ต่อเมื่อเงื่อนไขเป็นจริงเท่านั้น
  • The test gives a Boolean: True or False.

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP