程序完成题 :阅读以下程序,并根据程序的功能在空白处添加合适的内容使程序的功能完整 #include using namespace std; class Point { public: Point(double _x = 0.0, double _y = 0.0):_______________ // 对数据成员 x, y 进行初始化 { } double getX() const { return x; } double getY() const { return y; } void print() const { cout< } ___________________________; // 在此处对输入运算符 >> 重载函数进行函数声明 private: double x; double y; }; istream& operator>>(istream& is, Point &p) { is>>p.x>>p.y; return is; } int main() { ________________; // 定义一个数组名为 point 且数组大小为 10 的 Point 类对象数组 for(int i=0; i<10; ++i) cin>>point[i]; for(int i=0; i<10; ++i) point[i].print(); return 0; }