0_0_36037628_7498.cpp: In function 'int main()': 0_0_36037628_7498.cpp:33:14: error: 'tmp' was not declared in this scope if(tmp>0) ^