study guides for every class
that actually explain what's on your next test
While
from class:
AP Computer Science Principles
Definition
The loop statement "while" repeatedly executes a block of code as long as a specified condition is true. It keeps looping until the condition becomes false.
© 2025 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.