Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedpls 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-axis

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions

Question

Different purposes of negative messages.

Answered: 1 week ago