Main.cc: In function ‘int main()’: Main.cc:13:15: error: invalid types ‘int[int]’ for array subscript if(a[i]>=0&&a[i]<=18){ ^ Main.cc:13:24: error: invalid types ‘int[int]’ for array subscript if(a[i]>=0&&a[i]<=18){ ^ Main.cc:16:16: error: invalid types ‘int[int]’ for array subscript if(a[i]>=0&&a[i]<=35){ ^ Main.cc:16:25: error: invalid types ‘int[int]’ for array subscript if(a[i]>=0&&a[i]<=35){ ^ Main.cc:19:21: error: invalid types ‘int[int]’ for array subscript if(a[i]>=0&&a[i]<=60)}{ ^ Main.cc:19:30: error: invalid types ‘int[int]’ for array subscript if(a[i]>=0&&a[i]<=60)}{ ^ Main.cc:19:36: error: expected primary-expression before ‘}’ token if(a[i]>=0&&a[i]<=60)}{ ^ Main.cc:22:15: error: ‘i’ was not declared in this scope if(a[i]>=0&&a[i]<=61){ ^ Main.cc: At global scope: Main.cc:26:5: error: ‘cout’ does not name a type; did you mean ‘cosl’? cout<