C Decision Making - Looping


  • Looping
  • The While Statement
  • The Do while statement
  • The Break Statement
  • Continue statement
  • For Loop.


During looping a set of statements are executed until some conditions for termination of the loop is encountered.
A program loop therefore consists of two segments:
      body of the loop
      control statement
The control statement tests certain conditions and then directs the repeated execution of the statements contained in the body of the loop. In looping process in general would include the following four steps
  • Setting and initialization of a counter
  • Exertion of the statements in the loop
  • Test for a specified conditions for the execution of the loop
  • Incrementing the counter

Make Comments..!!

Oops!! No posts from user.

Download Android App