logo

Crowdly

Browser

Add to Chrome

Que fera l'algorithme suivant ? ________________________________________________...

✅ 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

_____________________________________________________________

0%
0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.e-polytechnique.ma?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome