0_0_15881509_26380.cpp: In function 'int main()':
0_0_15881509_26380.cpp:14:20: error: invalid types 'double [100][double]' for array subscript
scanf("%lf",&a[i]);
^
0_0_15881509_26380.cpp:15:10: error: invalid types 'double [100][double]' for array subscript
s+=a[i];
^
0_0_15881509_26380.cpp:16:11: error: invalid types 'double [100][double]' for array subscript
if(a[i]>x)
^
0_0_15881509_26380.cpp:17:11: error: invalid types 'double [100][double]' for array subscript
x=a[i];
^
0_0_15881509_26380.cpp:18:13: error: invalid types 'double [100][double]' for array subscript
if(y>a[i])
^
0_0_15881509_26380.cpp:19:11: error: invalid types 'double [100][double]' for array subscript
y=a[i];//一个循环就够了。
^
|