0_0_17591313_27010.cpp: In function 'int main()': 0_0_17591313_27010.cpp:29:9: error: 'num' was not declared in this scope ans=0;num=0; ^