02/21/00
COM1100 Winter2000 Yuhong Yin
14
Function call
nint list[]= {690, 307, 32, 155, 426};
ncout << "The moves :" << BubbleSort(list,5)  << endl;
nfor(int i = 0; i < 5; i++)
n     cout << list[i] << "  " ;
ncout << endl;
n
Output:
6
32  155  307  426  690