Question: You are writing a program that checks if a point (a,b) is inside a circle of radius R that is centered on the point (c,d).
You are writing a program that checks if a point (a,b) is inside a circle of radius R that is centered on the point (c,d). a,b,c,d,R are all integers entered from the keyboard Do not allow negative R values to be entered The output can be a simple statement indicating if the (a,b) point is "In the Circle", "Out of the Circle", "On the Circle" Also output the Quadrant (I,II,III, IV) that the point (a,b) is located in. If the point happens to be on either the x or y axis, then output which axis it is on. Your program is to continue forever until a radius of O is entered. Note: If you are wondering about how to compute the distance between 2 points... use the Pythagorean Theorem
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
