{ Tri d'un tableau d'entiers par la methode } { de tri a bulle } action triABulle(t) Donnees / Resultat t : tableau [N] de entier { tableau d'entiers a trier } Locales i : entier { indice de boucle } val : entier { variable auxiliaire } limite : entier { limite de parcours } permutation : booleen { permutation? sur la passe } { en cours } limite := N-2 permutation := vrai tant que permutation faire permutation := faux pour i de 0 à limite faire si t[i] > t[i+1] alors val := t[i] t[i] := t[i+1] t[i+1] := val permutation := vrai fsi fait limite := limite-1 fin tantque fin action