Loops or iteration are mostly use in C programs. sometimes a program may require that a group of instruction executed repeatedly either for a finite number of times or until some logical condition has been satisfied,this is known as looping.
Loops are used to repeat the execution of a statement or a set of statement,depending on the value of an integer expression.
There are two categories of Loops-:
1- Counter Controlled Loop-: These are the loops in which the number of repetition are finitely fixed.
- for loop CLICK HERE
ads
- while loop CLICK HERE
- do-while loop CLICK HERE
ads
share the blog
ReplyDelete