Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pass = 0;
- swaps++;
- Console.Write("Swapping {0} and {1}:t", unsorted[i], unsorted[j]);
- tmp = unsorted[i];
- unsorted[i] = unsorted[j];
- unsorted[j] = tmp;
- printArray(unsorted);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement