Syntax:
while(condition) { statements; }
Example:
i=1; while(i<3) { printf("Condition Satisfied!\n"); i++; }
Output:
Condition Satisfied! Condition Satisfied!
_____________________
BloggingSimplified.in
_____________________
All in one blogging website
Syntax:
while(condition) { statements; }
Example:
i=1; while(i<3) { printf("Condition Satisfied!\n"); i++; }
Output:
Condition Satisfied! Condition Satisfied!
_____________________
BloggingSimplified.in
_____________________