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 flowchartwrite 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

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!