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

Making decisions

  • if (test) { ... } runs its block only when the test is true.
  • else gives the path to take when the test is false.
ไทย

การตัดสินใจ

  • if (test) { ... } จะรันบล็อก เฉพาะเมื่อ เงื่อนไขเป็น true
  • else บอกเส้นทางที่จะ取的เมื่อการทดสอบเป็น false

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

IGCSE, A-Level & AP