0_0_20303417_28479.cpp: In function 'int main()': 0_0_20303417_28479.cpp:57:8: error: 'i' was not declared in this scope for(i=1;i<=k;i++) ^