study guides for every class
that actually explain what's on your next test
While loop
from class:
AP Computer Science A
Definition
A while loop is a control flow statement that allows a block of code to be executed repeatedly as long as a specified condition is true.
congrats on reading the definition of while loop. now let's actually learn it.
"While loop" also found in:
© 2024 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.