G
o
o
g
l
e
×
Please click
here
if you are not redirected within a few seconds.
All
Images
Videos
Books
Maps
News
Shopping
Search tools
Any time
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
All results
All results
Verbatim
While loop
View all
In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The while loop can be thought of as a repeating if statement.
Wikipedia