CS202 Java-136
A sentinel-controlled loop
l
Requires a “priming read”
l
l
“Priming read” means you read one
data value (or set of data values)
before entering the
while
loop
l
l
Process data value(s) and then read
next value(s) at end of loop
l