/ ** * Select Sort * @Param Data: Wait for Sorting Integer Array * * Data = {70, 81, 31, 37, 10, 1, 48, 60, 33, 80} * Sorting Results: * Sequence Sort : 81 70 31 37 10 1 48 60 33 80 * The 2nd Sort: 81 80 31 37 10 1 48 60 33 70 * 3rd Sort: 81 80 70 37 10 1 48 60 33 31 * The 4th Sort: 81 80 70 60 10 1 48 37 33 31 * 5th Sort: 81 80 70 60 48 1 10 37 33 31 * Issue 6 Sort: 81 80 70 60 48 37 10 1 33 31 * Seventh Sort: 81 80 70 60 48 37 33 1 10 31 * 8th Sort: 81 80 70 60 48 37 33 31 10 1 * 9th Sort: 81 80 70 60 48 37 33 31 10 1 * / Public Void Selectsort (int [] data) {Int max = data.length; int m, temp;
For (int i = 0; i