0_0_29299948_24199.cpp: In function 'int main()': 0_0_29299948_24199.cpp:5:3: error: 'sum' was not declared in this scope sum=0; ^