0_0_35595696_12223.cpp: In function 'int main()':
0_0_35595696_12223.cpp:19:9: error: expected ';' before 'int'
int a[n];
^
0_0_35595696_12223.cpp:20:35: error: 'a' was not declared in this scope
for(int i=0;i<n;i++) cin>>a[i];
^
0_0_35595696_12223.cpp:21:23: error: 'a' was not declared in this scope
cout<<getSpit(a,n)<<endl;
^
0_0_35595696_12223.cpp: At global scope:
0_0_35595696_12223.cpp:24:1: error: expected declaration before '}' token
}
^
|