Loops In C language
Loops In C language
Loops in C language-
- in looping sequences of c program are executed until some conditions of the loop are satisfied .
- While loop
- do...While loop
- For loop
Syntax for loops-
- While
While<condition>
{
statement
increment/decrement
}
See example of While Loop - vd CLICK
- Do...While
Initialization
do
{
increment/decrement
}
While<condition>;
the semi-colan(;) will be used at the end of condition.
See example of do..while loops click here
Subscribe to:
Post Comments
(
Atom
)
THNKS
ReplyDeleteFor loops
ReplyDelete