0_0_16258540_10459.cpp: In function 'int main()': 0_0_16258540_10459.cpp:38:3: error: 'num' was not declared in this scope num = 1; ^