✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Que fera l'algorithme suivant ?
_____________________________________________________________
Algorithme test
Variable tab : tableau [5] de Entier
i, somme : Entier
Début
tab ← [1,2,3,4,5]
somme ← 0
pour i allant de 0 à 4 faire
si tab[i] % 2 == 0 alors
somme ← somme + tab[i]
finsi
finpour
écrire(somme)
Fin algorithme
_____________________________________________________________