Definify.com

Definition 2024


while_loop

while loop

English

Noun

Examples

(from C++):

  • while( x<10 ) {
    cout<<x;
    x++;
  • }

while loop (plural while loops)

  1. (programming) A section of computer code in which an instruction or group of instructions is executed only while a certain condition continues to be met.

Translations

See also