Kerjakan soal berikut dengan metode
insertion, selection atau bubble sort (boleh milih)
1. 4,
2, 5, 1, 8, 7,10, 9, 6 ( ascending )
2. 1,
10, 3, 8, 5, 6, 7, 4, 9, 2 (descending)
3. 5, 34, 32, 25, 75, 42,
22, 2 (ascending)
4. 21, 83, 42, 11, 10, 9,
3, 20, 102, 27, 15, 92, 2 (descending)
5. 102, 92, 83, 42, 27,
21, 20, 15, 11, 10, 9, 3, 2 (ascending
untuk jawabannya anda bisa mendowloadnya disini "jawabannya"