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