'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

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by WpCoderX
Top