Write a program that prompts the user (in this order) to enter a point in x and y coordinates, and a radius. Report if the point is within the circle centered at (0, 0) with the given radius. For example, the point (9, 8) is outside the circle with radius 10, but (2, 3) is within that circle. Print "Within circle" for points within the radius Print "Outside of circle" for points outside of the radius. The distance formula is:

Answer :

Other Questions