02/21/00
COM1100 Winter2000 Yuhong Yin
9
Function call
n
int list[]= {690, 307, 32, 155, 426};
n
cout << "The moves :" << SelectionSort(list,5)
<< endl;
n
for(int i = 0; i < 5; i++)
n
cout << list[i] << "
" ;
n
cout << endl;
n
Output:
The moves : 4
32
155
307
426
690