0_0_24267977_21423.cpp: In function 'int main()': 0_0_24267977_21423.cpp:17:5: error: 'cout' was not declared in this scope cout<<result<<endl; ^ 0_0_24267977_21423.cpp:17:19: error: 'endl' was not declared in this scope cout<<result<<endl; ^