Skip to content
Snippets Groups Projects
Commit 488a600e authored by yassin.elhakoun's avatar yassin.elhakoun
Browse files

Update boucles_conditions.md (boucle infinie lorsqu'on arrivait à i==3)

parent 2b73795f
No related tags found
No related merge requests found
Pipeline #29113 failed
...@@ -85,11 +85,11 @@ if (x) { // si x s'évalue à `vrai` ...@@ -85,11 +85,11 @@ if (x) { // si x s'évalue à `vrai`
```C ```C
int i = 0; int i = 0;
while (i < 10) { while (i < 10) {
i += 1;
if (i == 3) { if (i == 3) {
continue; continue;
} }
printf("%d\n", i); printf("%d\n", i);
i += 1;
} }
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment