Main.cc: In function 'int main()':
Main.cc:7:14: error: 'a' was not declared in this scope
cin>>a[i];
^
Main.cc:11:9: error: 'a' was not declared in this scope
a[i]=a[i+1];
^
Main.cc:14:15: error: 'a' was not declared in this scope
cout<