下面程序错在哪里?
//=================================== //ex0801.cpp //找错 #include<cmath> using namespace std; //----------------------------------- class Point{ protected: double x; //x轴分量 double y; //y轴分量 public void Set(double ix,double iy){ //设置坐标 x=ix; y=iy; }//--------------------------------- double xOffiset(){ //取y轴坐标分量 return x; }//--------------------------------- double yOffiset(){ //取x轴坐标分量 return y; }//--------------------------------- double angle(){ return (180/3.14159)*atan2(y,x); //取点的极坐标θ }//--------------------------------- double radius(){ //取点的板坐标半径 return sqrt(x*x+y*y); } }//----------------------------------- int main() { Point p; double x,y; cout <<”Enter x and y:\n”; cin >>x >>y; p.Set(x,y); p.x+=5; p.y+=6; cout<<"angle=" <<p.angle() <<",radius=" <<p.radius() <<",x offiset=" <<p.xoffiset() <<",y offiset=" <<p.xoffiset() <<endl; }//==================================