Looping Statement

You can create loops by using the iteration statement. Iteration statements cause embedded statement to be executed a number of times, subject to the loop-termination criteria. These statements are executed in order, except when a jump statement is encountered.

The following keywords are used in iteration statements:
  • do
  • for
  • foreach
  • while

No comments:

Post a Comment