Page t021, go to NEXT,
PREVIOUS, INDEX
while Loop
Use while when block should be executed zero or
more times
General form
while (expression)
{ statement
. . .
}
- any expression that returns numeric value
- same rules as if block for braces
C Course, 20-jan-1997,
Peter Klok,
pfk@hef.kun.nl