LOOPING STATEMENTS

LOOPING STATEMENTS :
           Loops are used to repeat a set of statements until the looping condition gets false. 

General steps for a looping statement:
1. Initialise the looping variable 
2. Check for the looping condition
3. Execute the body of loop
4. Increment/Decrement the looping variable
5. Repeat the steps 2 to 4 until looping condition is false


Comments