0_0_37428407_19890.cpp: In function 'int main()': 0_0_37428407_19890.cpp:6:7: error: 'i' was not declared in this scope for(i=1;i<=n;i++){ ^ 0_0_37428407_19890.cpp:9:9: error: 'k' was not declared in this scope cout<<k<<endl; ^