0_0_28213062_32468.cpp: In function 'int main()': 0_0_28213062_32468.cpp:12:20: error: 'num' was not declared in this scope cin >> num; ^