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