Write a program that takes the x-y 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.
Sample lines of output:
(-1.5,-2.7) is in quadrant 3.
(0.0,3.8) is on the Y-axis.
(0.0,0.0) is on the origin.
can anyone explain to me how to do this question?? i don understand what does the question want, so i don know how to write the code.
thanks =)