Count()-1;i>=0;i--) //依照題目給的泡沫排序邏輯寫 for (j = 0; j < i; j++) { if (a[j] > a[j + 1]) { int temp = a[j]; a[j] = a[j+1];
確定! 回上一頁