Les tris Tris simples tri par insertion :
{"Image DocumentName": "Les tris Tris simples tri par insertion :", "Image ImageDescription": "void triInsertion(TypeEl tab[], int n, int   err) 2/2. { /  connu: - entree: tab, n. sortie: ----resultat: tab trie et  err = OK, si n >= 0,tab est inchange et  err = CN, sinon. hypothese: n >= 0  / int i, j; TypeEl x; if(n < 0) {  err = CN; return; }  err = OK; for(i = 1; i < n; i++) { j = i; x = tab[i]; while(j-1 >= 0 && x < tab[j-1]) { tab[j] = tab[j-1]; j--; } tab[j] = x;", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}