Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Exchange Sort
- void exchange (int a[], int n) {
- int i,j;
- for (i=0;i<=n-1;i++) {
- for (j=(i+1);j<n;j++)
- if(a[i]>a[j])
- tukar (a,i,j);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement