next up previous contents index
Next: do Up: Control Structures Previous: if   Contents   Index


while

C's while is almost identical to Pascal's:

  
while (i < 10) {
  /*  things to repeat until i >= 10  */  
}



CATAM admin 2010-02-23