Advertisement
Guest User

Untitled

a guest
Aug 9th, 2018
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XBasic 0.26 KB | None | 0 0
  1.             pass = 0;
  2.             swaps++;
  3.             Console.Write("Swapping {0} and {1}:t", unsorted[i], unsorted[j]);
  4.             tmp = unsorted[i];
  5.             unsorted[i] = unsorted[j];
  6.             unsorted[j] = tmp;
  7.             printArray(unsorted);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement