// Write a program that prompts for the x and y coordinates of a point in a plane. // The program should ouptut a message indicating whether the point is the origin, // located on the x (or y) axis, or appers in a particular quadrant. #include using namespace std; int main() { int x, y; cout << "please enter x and y coordinate of a point" << endl; cin >> x >> y; if ((x == 0) && (y == 0)) cout << endl <<" point is the origin"< 0) && (y > 0)) cout << endl << "point is in quadrant I" << endl; else if ((x < 0) && (y > 0)) cout << endl <<"point is in quadrant II" << endl; else if ((x < 0) && (y < 0)) cout << endl << "point is in quadrant III" << endl; else if ((x > 0) && (y <0)) cout << endl << "point is in quadrant IV" << endl; }