LOOP



A looping or iteration statement allows a set of instructions to be performed repeatedly until a certain condition won't be satisfied. It is of 3 types they are:- 

  • While loop  

  • Do-while loop  

  • For loop  

 

Syntax  

 

for(iteration; condition; increment/decrement) 

{ 

    ..... 

    ..... 

} 

 

Flowchart 

  

 

 

Follow our page for regular updates.

0 Comments