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