Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/ProgramFlow/Loops/BasicLoops

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Loops can be written as while (condition) { body } or as do { body } while(condition);. The initialization and updating of a loop can be consolidated into for (iIndex = 0; iIndex < 10; iIndex++) { body }. Additional information about loops (includes interactive examples)