这些习题没有答案吗
if( arr[j] > arr{j+1} )
{
double temp;
temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;
}
有啊,你没看到吗?