Skip to content

Commit b7206d4

Browse files
committed
modification algo 1
1 parent 9ac0108 commit b7206d4

2 files changed

Lines changed: 15 additions & 21 deletions

File tree

tri-a-bulle-normal/Algorithm.algo

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
PROCEDURE tri_bulle ( TABLEAU a[1:n])
4+
passage ← 0
5+
REPETER
6+
permut ← FAUX
7+
POUR i VARIANT DE 1 A n - 1 - passage FAIRE
8+
SI a[i] > a[i+1] ALORS
9+
echanger a[i] ET a[i+1]
10+
permut ← VRAI
11+
FIN SI
12+
FIN POUR
13+
passage ← passage + 1
14+
TANT QUE permut = VRAI
15+

tri-a-bulle_normal/Algorithm.algo

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)