logo

Crowdly

Cet algorithme affiche t-il vrai ou faux ? Algorithme test Fonction boolé...

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

Cet algorithme affiche t-il vrai ou faux ?

Algorithme test

Fonction booléenne Recherche(chaine: mot, caractère: lettre)

Variable

entier: i

Début

Pour i allantDe 1 à TailleDe(mot)-1 Faire

Si mot[i+1]=val Alors

Renvoyer vrai

FinSi

FinPour

Renvoyer faux

Fin

Début

Afficher Recherche("secret", "s")

Fin

0%
100%
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