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

Update cours_3.md (ligne 289 à 298: modifs syntaxe et initialisations variables manquantes)

parent 0eea224b
No related branches found
No related tags found
No related merge requests found
......@@ -287,9 +287,11 @@ pour i de 1 à SIZE - 1
```C
int index = 0;
int SIZE = 10;
int tab[SIZE];
float min = tab[0];
for (int i = 1; i < SIZE; ++i) {
if min > tab[i] {
if (min > tab[i]) {
min = tab[i];
index = i;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment