'for' loop:-

                             for loop executed one or more statements for a specified number of times.This loop is also called Counter controlled loop. it is the most flexible loop.That is why ,it is the most frequently-used loop by the programmers.

Syntax:-

The syntax of while loop is as follows:

for(initialization;condition;increment/decrements)

{
  Statement 1;
 Statement 2;
 :
 :
Statement N;


}


FlowChart:-

what is for loop(http://teachcoding.blogspot.com)


Post a Comment

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by S.A.R
Top