0_0_32912372_14776.cpp: In function 'int main()': 0_0_32912372_14776.cpp:11:15: error: 'sum' was not declared in this scope cout<<sum<<endl; ^