✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
On considère l'algorithme suivant :
Algorithme algoX
Variables
T : tableau[100] de Réel
i, n, V : Entier
elm : Réel
Début
//On considère que le tableau est déjà rempli
Ecrire("donnez un élément ")
Lire(elm)
V ← 0
Pour i allant de 0 à n-1 Faire
Si(T[i] = elm) Alors
V ← V + 1
FinSi
FinPour
Ecrire(V)
Fin
Qu'affiche la variable V après l'exécution de cet algorithme ?