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

Iteration: WHILE and REPEAT · ⁨Iteração: WHILE e REPEAT⁩

English

WHILE tests first

  • A pre-condition loop tests the condition, then maybe runs the body.
  • If the condition is already FALSE, the body never runs.
  • The block ends at ENDWHILE.
Português

WHILE testa primeiro

  • Um loop pré-condição testa a condição, depois talvez execute o corpo.
  • Se a condição já for FALSE, o corpo nunca executa.
  • O bloco termina em ENDWHILE.

Handout · ⁨Material de apoio⁩

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

IGCSE, A-Level & AP