0_0_26436961_5637.cpp: In function 'int main()': 0_0_26436961_5637.cpp:51:12: error: 'cnt' was not declared in this scope if(cnt==10) ^