Skip to content · ⁨Lompat ke konten⁩

while loops · ⁨loop 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.
Bahasa Indonesia

while berulang

  • while (test) { ... } berjalan lagi dan lagi, selama tes tetap true.
  • Ia memeriksa tes sebelum setiap putaran — sehingga badannya mungkin berjalan nol kali.

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

IGCSE, A-Level & AP