looping statements

 looping statements

In looping statement a sequence of statement executed repeatedly until some conditions for termination are satisfied. The condition for the loop is tested and if satisfied then it executes the body of the loop.

Generally there are three types of looping statements:

  1. While loop
  2. do-while loop
  3. for loop

Leave a Reply

Your email address will not be published. Required fields are marked *