#include using namespace std; class Point { public: double x,y; Point(double a,double b) { x=a; y=b; cout<<"Point : ("<>num; Line line[num]; for(i = 0; i >x1>>c>>y1>>x2>>c>>y2; line[i].SetLine(x1, y1, x2, y2); line[i].show(); } std::cout<<"=========================\n"; Line l1(p, q), l2(p, t), l3(q, t), l4(t, q); l1.show(); l2.show(); l3.show(); l4.show(); }