Professional Documents
Culture Documents
Lab 9 Home Task 2
Lab 9 Home Task 2
BSE153003
};
void main() {
int x;
int y;
int z;
cout << "Enter the value of x" << endl;
cin >> x;
cout << "Enter the value of y" << endl;
cin >> y;
Planepoint P;
P.getX(x);
P.getY(y);
P.planedistance();
cout << "Enter the value of z" << endl;
cin >> z;
Spacepoint S(x, y, z);
system("pause");
}