Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
for k=1 to n - 1 for j=1 to n - 1 if a[j]>a[j+1] then aux=a[j] a[j]=a[j+1] a[j+1]=aux end if next next