Question: WRITE THIS PROGRAM IN C. PLEASE THE PROGRAM SHOULD LOOP, THE PROGRAM EXIT ONLY IF THE USER ENTER (0, 0). PLEASE DONT WRITE JUST IF
WRITE THIS PROGRAM IN C. PLEASE THE PROGRAM SHOULD LOOP, THE PROGRAM EXIT ONLY IF THE USER ENTER (0, 0). PLEASE DONT WRITE JUST IF STATEMENT THAT EXIT AFTER THE ENTER ONE INPUT
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. If the users input is (0, 0), shows the proper message and exit the program. Otherwise, continue asking for another coordinate from the user. Hint: dont forget to consider the axis cases.
Example output: Enter your coordinates: (-1.0, -2.5) (-1.0, -2.5) is in quadrant III. Try another: (0.0, 0.0) (0.0, 0.0) is the origin. See you next time.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
