Question: 5. Write a C++ program that prompts the user to input the x-y coordinate of a point in the Cartesian plane. The program should then
5. Write a C++ program that prompts the user to input the x-y coordinate of a point in the Cartesian plane. The program should then output a message indicating whether the point is the origin, is located on the x- (ory-) axis, or appears in a particular quadrant. For example: (0,0) is the origin (4.0) is on the x-axis (0-3) is on the y-axis (-2.3) is in the second quadrant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
