Skip to content · ⁨Pular para o conteúdo⁩

while loops · ⁨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.
Português

while repete

  • while (test) { ... } roda repetidamente, enquanto o teste permanecer true.
  • Ele verifica o teste antes de cada passagem — então o corpo pode rodar zero vezes.

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP