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