Question: write a c program for the above 2. First write a flowchart and from it write a program to read in x and y coordinates
write a c program for the above
2. First write a flowchart and from it write a program to read in x and y coordinates of a point in the Cartesian plan and then to print a message telling either an axis on which the point lies or the quadrant in which it is found. Your program should prompt the user to enter the x and y coordinates as floating point numbers. It is then to display the axis or quadrant (I, II, III, or IV based on a counterclockwise numbering) where the point is located. Find a way to do this program that uses if structures other than just simple if. Test with one point on an axis and two other points in different quadrants Sample lines of output: (-1.0, -2.5) is in quadrant I (0.0, 4.8) is on the y-axis
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
