/in/foo.cc: In function 'int main()':
/in/foo.cc:7:9: error: invalid types 'double [10][double]' for array subscript
cin>>a[k];
^
/in/foo.cc:12:8: error: invalid types 'double [10][double]' for array subscript
{if(a[g]>max)
^
/in/foo.cc:13:9: error: invalid types 'double [10][double]' for array subscript
{max=a[g];
^
/in/foo.cc:17:8: error: invalid types 'double [10][double]' for array subscript
{if(a[q]<min)
^
/in/foo.cc:18:9: error: invalid types 'double [10][double]' for array subscript
{min=a[q];
^
/in/foo.cc:24:10: error: invalid types 'double [10][double]' for array subscript
cout<<a[x]<<" ";
^