previous | index | next

The while Statement

The while statement has the form:

      while (test) statement;
where test evaluates to a boolean value and statement is repeated as long as test's value is true:


previous | index | next