Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:algo-exo-constructions-d-algorithmes-de-procedure [06/12/2014 11:13] Hypathie [Exo 3 : procédure rechercher un palindrome] |
utilisateurs:hypathie:tutos:algo-exo-constructions-d-algorithmes-de-procedure [06/12/2014 11:15] Hypathie [Exo 3 : procédure rechercher un palindrome] |
||
---|---|---|---|
Ligne 379: | Ligne 379: | ||
SI chaine[i] < chaine[j] ALORS | SI chaine[i] < chaine[j] ALORS | ||
palindrome := VRAI | palindrome := VRAI | ||
- | TQ (i < j) ET chaine[i] = chaine[j]) | + | TQ (i < j) ET (chaine[i] = chaine[j]) |
i := i + 1 | i := i + 1 | ||
j := j - 1 | j := j - 1 |