5、面void swap(int array[], int i, int j){int tmp=array[i];array[i]=array[j];array[j]=tmp;}void Sort (int array[], int n) { int i, j; i = 0; j = n-1; while (i < j) { while(array[i]<0) ; (S1) while(array[j]>0) ;(S2) if () break; (S3) swap(array, i, j); i++;