/*bubble sort*/ void bubble_sort(int a[],int n) { int i,j,pom; for(i=n-1; i>0; i--) for(j=0; ja[j+1]) { pom=a[j]; a[j]=a[j+1]; a[j+1]=pom; } }