while loop
Also written: while, do-while
A loop that repeats its block as long as its condition is true, checking before each pass. A do-while checks at the end, so it runs at least once.
Also written: while, do-while
A loop that repeats its block as long as its condition is true, checking before each pass. A do-while checks at the end, so it runs at least once.