Main.cc: In function 'int main()':
Main.cc:4:11: error: expected initializer before 'n'
int a[11]n,x=0;
^
Main.cc:6:8: error: 'a' was not declared in this scope
cin>>a[i];
^
Main.cc:8:7: error: 'n' was not declared in this scope
cin>>n;
^
Main.cc:10:14: error: 'a' was not declared in this scope
if(n+30 >= a[i]){
^
Main.cc:11:4: error: 'x' was not declared in this scope
x++;
^
Main.cc:14:8: error: 'x' was not declared in this scope
cout<