0_0_14462032_22409.cpp: In function 'int main()': 0_0_14462032_22409.cpp:25:14: error: 'a' was not declared in this scope cin >> a >> b; ^ 0_0_14462032_22409.cpp:25:20: error: 'b' was not declared in this scope cin >> a >> b; ^