document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //Exchange Sort
  2. void exchange (int a[], int n) {
  3. int i,j;
  4. for (i=0;i<=n-1;i++) {
  5.   for (j=(i+1);j<n;j++)
  6.   if(a[i]>a[j])
  7.   tukar (a,i,j);
  8.   }
  9. }
');