Computer Science, asked by RounakVats21, 2 months ago

what is an example of iteration statement​

Answers

Answered by Anonymous
2

Iteration statements cause statements (or compound statements) to be executed zero or more times, subject to some loop-termination criteria. ... C++ provides four iteration statements — while, do, for, and range-based for.

Answered by adityadwivedi1709
0

for (i = 0; ;i++) statement; Infinite loops can be terminated with a break , return , or goto statement within the loop body. If either expression-1 or expression-3 is omitted from the for statement, the omitted expression is evaluated as a void expression and is effectively dropped from the expansion.

Similar questions