5. Introduction
Bubble sort- The Algorithm is Bubble Sort
involves two steps over and over until the
data sorted.
1 Compare Adjacent two element if
necessary swap them.
6. Algorithm of Bubble Sort
1.Initialisation
Set I=0
2. repeat step 3 to 5 until I<M
3. J=0
4.repeat step 5 until J < N – I -1
5. If A[J] > A[J+1] then
step temp=A[J]