PPT Slide
Java example:
<get the first value>
while (condition) {
<process the
current value>
<get the next value>
}
Pseudocode:
loop
<get the next value>
exitif (NOT(condition))...
<process the value>
endloop
Java Iteration Constructs: “While Loops”
Previous slide
Next slide
Back to first slide
View graphic version