0_0_21247287_6153.cpp: In function 'int main()': 0_0_21247287_6153.cpp:61:5: error: expected ';' before 'cout' cout<<ans/f(ans,ans1)<<"/"<<ans1/f(ans,ans1)<<endl; ^