Answered step by step
Verified Expert Solution
Question
1 Approved Answer
pls write the program above in c 2. First write a flowchart and from it write a program to read in x and y coordinates
pls write the program above in c
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-axisStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started