0_0_29599126_9541.cpp: In function 'int main()': 0_0_29599126_9541.cpp:24:3: error: 'cnt' was not declared in this scope cnt = 0; ^