0_0_38601097_12543.cpp: In function 'int main()': 0_0_38601097_12543.cpp:23:23: error: 'n' was not declared in this scope for(int i=1;i<n;i++) ^ 0_0_38601097_12543.cpp:33:36: error: 'n' was not declared in this scope for(int j=1;j<=n;j++) ^