Question: Q 3 : Write a program that takes the x - y coordinates of a point in the Cartesian plane and display the quadrant where

Q3: Write a program that takes the x-y coordinates of a point in the Cartesian plane and display the quadrant where it is found. If the point does not lie in a quadrant but on an axis or at the origin, the program should display them as well.
(User inputs are in red)
\table[[Sample Run:,Sample Run:],[Enter x coordinate: 0,Enter x coordinate: 3.2],[Enter y coordinate: 0,(3.2,0.0) is on the x axis],[(0.0,0.0) is at the origin,Sample Run:],[Sample Run:,Enter x coordinate: 6.3],[Enter x coordinate: 0,Enter y coordinate: -1.8],[Enter y coordinate: -1.6,(6.3,-1.8) is in Quadrant 4],[(0.0,-1.6) is on the y axis,]]
 Q3: Write a program that takes the x-y coordinates of a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!