0_0_21967229_9093.cpp: In function 'int main()': 0_0_21967229_9093.cpp:12:13: error: 'sum' was not declared in this scope sum+=b; ^ 0_0_21967229_9093.cpp:14:15: error: 'sum' was not declared in this scope cout<<sum<<endl; ^