0_0_21594800_4394.cpp: In function 'int main()': 0_0_21594800_4394.cpp:20:17: error: 'cnt' was not declared in this scope cnt++; ^ 0_0_21594800_4394.cpp:24:17: error: 'cnt' was not declared in this scope cout << cnt << endl; ^