Skip to content · ⁨الانتقال إلى المحتوى⁩

while loops · ⁨حلقات while⁩

English

while repeats

  • while (test) { ... } runs again and again, as long as the test stays true.
  • It checks the test before each pass — so the body might run zero times.
العربية

while يكرر

  • while (test) { ... } تشغّل مراراً وتكراراً، طالما يبقى الاختبار true.
  • تفحص الاختبار قبل كل دورة — لذا قد تشغّل الجسم صفراً مرة.

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP