0_0_31648452_2738.cpp: In function 'int main()': 0_0_31648452_2738.cpp:44:21: error: 'sum' was not declared in this scope sum++; ^ 0_0_31648452_2738.cpp:47:15: error: 'sum' was not declared in this scope cout<<sum<<endl; ^