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