mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-09 15:06:15 -05:00
added when while loop is used (#34128)
This commit is contained in:
committed by
The Coding Aviator
parent
eef19480f0
commit
08cb91afc5
@@ -2,7 +2,7 @@
|
||||
title: While-loop
|
||||
---
|
||||
|
||||
A while loop statement repeatedly executes a target statement as long as a given condition is true.
|
||||
A while loop statement repeatedly executes a target statement as long as a given condition is true. It is often used when the number of iterations is unknown.
|
||||
|
||||
Syntax:
|
||||
```C++
|
||||
|
||||
Reference in New Issue
Block a user