0_0_37066189_31958.cpp: In function 'int main()': 0_0_37066189_31958.cpp:24:14: error: 'n' was not declared in this scope for(i=2;i<=n;i++) ^