0_0_22250325_26399.cpp:9:5: error: expected unqualified-id before 'return' return sqrt(b*b*(1-x*x/(a*a))); ^ 0_0_22250325_26399.cpp:10:1: error: expected declaration before '}' token } ^