Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
int i=1,j,temp;//for(i=1;i<n;i++){while(i<n){temp=A[i];//for(j=i-1;j>=0&&temp<A[j];j--) A[j+1]=A[j];int j=i-1;while(j>=0&&temp<A[j]){A[j+1]=A[j];j--;}A[j+1]=temp;i++;Result(A,n);}getch();