0_0_17335030_4930.cpp: In function 'int main()': 0_0_17335030_4930.cpp:42:7: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^ 0_0_17335030_4930.cpp:57:7: error: 'i' was not declared in this scope for(i=1;i<=n;i++) ^