while-whileDo
title: "courses/c-course - while-whileDo.md"
- **fileName**: while-whileDo
- **Created on**: 2024-06-06 15:47:22
while
- example for while:
while (boolean condition)
{
loop statements...
}
while do
do while loop is similar to while loop with the only difference that it checks for the condition after executing the statements, and therefore is an example of Exit Control Loop.
Syntax:
do
{
statements..
}
while (condition);
contine:for-loop.md
before : function-statement.md