0_0_23794666_30501.cpp: In function 'int main()': 0_0_23794666_30501.cpp:20:21: error: 'sum' was not declared in this scope if(d&1) sum *= d; ^ 0_0_23794666_30501.cpp:22:17: error: 'sum' was not declared in this scope cout << sum << endl; ^