0_0_14873339_7734.cpp: In function 'int main()':
0_0_14873339_7734.cpp:7:19: error: invalid types 'double[int]' for array subscript
scanf("%lf",&a[i]);
^
0_0_14873339_7734.cpp:8:9: error: invalid types 'double[int]' for array subscript
if(a[i]<0)a[i]=-a[i];
^
0_0_14873339_7734.cpp:8:16: error: invalid types 'double[int]' for array subscript
if(a[i]<0)a[i]=-a[i];
^
0_0_14873339_7734.cpp:8:22: error: invalid types 'double[int]' for array subscript
if(a[i]<0)a[i]=-a[i];
^
0_0_14873339_7734.cpp:9:23: error: invalid types 'double[int]' for array subscript
printf("%.2lf\n",a[i]);
^
|