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

Update cours_2.md (ligne 171 opérateur = était utilisé au lieu de ==)

parent 0eea224b
No related branches found
No related tags found
No related merge requests found
Pipeline #26918 failed
...@@ -168,7 +168,7 @@ if (x) { // si x s'évalue à `vrai` ...@@ -168,7 +168,7 @@ if (x) { // si x s'évalue à `vrai`
```C ```C
int x, y; int x, y;
x = y = 3; x = y = 3;
if (x = 2) if (x == 2)
printf("x = 2 est vrai.\n"); printf("x = 2 est vrai.\n");
else if (y < 8) else if (y < 8)
printf("y < 8.\n"); printf("y < 8.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment