0_0_17841573_5079.cpp: In function 'int main()': 0_0_17841573_5079.cpp:35:9: error: 'sum' was not declared in this scope sum = 0; ^