over 7 years ago
C provides following types of loops:
For Loop :
Syntax:
for( initialization; condition; increment/decrement) { // Statement1 //Statement2 }
where, initialization of variable, condition is till where you want to execute the statements increment/ decrement of counter.
while Loop:
while(condition) { //Statement1 // Statement2 } where, condition is that till where when you want to execute your statements.
do-while Loop:
do{ //Statement1 //Statement2 }while(condition); where, condition is till where you want to execute the statements.
Nested Loop:
for( initialization; condition1; increment/decrement) { // Statements for( initialization; condition2; increment/decrement) { //Statement1 //Statement2 } }
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)