logo

Crowdly

Browser

Add to Chrome

Que fait cet algorithme ? Algorithme test Fonction réelle sommeTab( Ta...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Que fait cet algorithme ?

Algorithme test

Fonction
réelle sommeTab(TableauDe réels: tab) // valable avec toute taille

Variable

entier: i

réel: total

Début

total ← 0

Pour i allantDe 1 à TailleDe(tab) Faire

total ← total+tab[1]

FinPour

Renvoyer total

Fin

Début

Afficher sommeTab({3, 2, 1})

Fin

❌
❌
✅
More questions like this

Want instant access to all verified answers on moodle.epf.fr?

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

Browser

Add to Chrome