0_0_13289824_30509.cpp: In function 'int main()': 0_0_13289824_30509.cpp:8:6: error: 'sum' was not declared in this scope sum = 0; ^