User:Karam kassem

Bubble Sort Algorithm

BubbleSort(index : Array ); for i := 1  to  (length.index)-1  do         for  j := i  to  lenght.index  do              if  index[i] > index[j] then change ( index[i],index[j] )