0_0_36917428_16237.cpp: In function 'int main()':
0_0_36917428_16237.cpp:20:9: error: 'i' was not declared in this scope
for ( i = 0; i < n-1;i++) //排序找出最小数a[0]
^
0_0_36917428_16237.cpp:31:9: error: 'i' was not declared in this scope
for ( i = 0; i < n;i++)
^
0_0_36917428_16237.cpp:39:9: error: 'i' was not declared in this scope
for ( i = 0; i < n-1; i++) //输出交换后的数字
^
|