Question: in c, answer the following Problem 2: Selection structures Write a program that takes the xy coordinates of a point in the Cartesian plane and

in c, answer the following

in c, answer the following Problem 2: Selection structures Write a program

Problem 2: Selection structures 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. Sample lines of output: - (1.0,2.5) is in quadrant III - (0.0,4.8) is on the y-axis 1 Figure 1: Representation of the four quadrants

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!