Algorithm For Bubble Sort

1. For i<-1 length="" p="" to="">2. For j<-length down="" i="" p="" to="">3. if A[j] 4. exchange(A[j],A[j-1])