Auto commit

This commit is contained in:
smallkun 2025-04-01 16:38:21 +08:00
parent da63a1d634
commit b5cc50f90d

View File

@ -31,6 +31,14 @@ void sort(int *p, int n)
{
int i, j, temp;
/**********Program**********/
i = 0;
j = n-1;
while(i < j){
temp = p[i];
p[i] = p[j];
p[j] = temp;
i++;
j--;
}
/********** End **********/
}