a good choice here since the ambient temperature may be at the desired level before the compressor part of the program is executed
a loop used to run a block of code while a condition is true
a much more general loop than a for loop
a simple loop that keeps looping while something is true
A structure in a computer program that allows a sequence of instructions to be repeated while some condition remains true. See also Repeat Loop, Until Loop.
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.