0_0_30495178_12576.cpp: In function 'int main()': 0_0_30495178_12576.cpp:22:19: error: 'k' was not declared in this scope if(n==k) ^