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인 한 계속 다시 실행됩니다.
  • 각 반복 전에는 반드시 조건 테스트를 확인하므로, 본체가 0회 실행될 수 있습니다.

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP