Question: The quadrant that a line drawn from the origin resides in is determined by the angle that the line makes with the positive X axis

The quadrant that a line drawn from the origin resides in is determined by the angle that the line makes with the positive X axis as follows: Angle from the Positive X Axis Quadrant Between 0 and 90 degrees Between 90 and 180 degrees Between 180 and 270 degrees Between 270 and 360 degrees I II III IV Using this information, write a C program that accepts the angle of the line as user input and determines and displays the quadrant appropriate to the input data. (Note: If the angle is exactly 0, 90, 180, or 270 degrees the corresponding line does not reside in any quadrant but lies on an axis.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
