Main.cc: In function 'int main()': Main.cc:8:7: error: 'a' was not declared in this scope cin>>a[i]; ^ Main.cc:11:5: error: 'a' was not declared in this scope t=a[i]; ^ Main.cc:19:5: error: 'a' was not declared in this scope t=a[i]; ^ Main.cc:25:9: error: 'a' was not declared in this scope cout<