Main.cc: In function 'int main()': Main.cc:3:44: error: 'n' was not declared in this scope int main(){int i;int a; cin>>a; for(i=1;i<=n;i++) {cout<