0_0_29665118_28803.cpp: In function 'int main()': 0_0_29665118_28803.cpp:25:9: error: 'result' was not declared in this scope cout<<result<<endl; ^