while

Loops through the statements enclosed within theĀ { code block } until the test expression is false:

 

while (test expression) {
statements ;
}

 

Leave a Reply