Main.cc: In function 'int main()': Main.cc:5:13: error: 'f' was not declared in this scope cin>>n; f ^ Main.cc:6:11: error: expected ')' before ';' token or(i=0;i