Question: Write a program that takes the xy coordinates of a point in the Cartesian plane and prints a message telling either an axis on which
Write a program that takes the xy coordinates of a point in the Cartesian plane and prints a message telling either an axis on which the point lies or the quadrant in which it is found.
image.png
Your program must use a function to determine and report the quadrant of a point with xy coordinates provided by the user.
Sample output:
Enter x and y coordinates:
Point is located on the origin
Enter x and y coordinates:
Point is located on the xaxis
Enter x and y coordinates:
Point is located in Quadrant II C programming
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
