0
what is loops
2 Answers
+ 2
loop is a iteration
which will execute until the condition get false
0
A loop is a block of code that can be executed several times depending on a condition.
Example:
i = 0;
while (i < 5) {
cout << i << endl;
i = i + 1;
}