✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Que fait cet algorithme ?
Algorithme testFonction réelle sommeTab(TableauDe réels: tab) // valable avec toute tailleVariable entier: i réel: totalDébut total ← 0 Pour i allantDe 1 à TailleDe(tab) Faire total ← total+tab[1] FinPour Renvoyer totalFinDébut Afficher sommeTab({3, 2, 1})Fin