Question: Write a java program to prompt user to enter the center (a pair of double numbers) of a circle in a 2D coordinate system, prompt
Write a java program to prompt user to enter the center (a pair of double numbers) of a circle in a 2D coordinate system, prompt user to enter another number which is the radius of the circle. Randomly generate 2 numbers x1, and y1. Check point (x1, y1) is inside, outside or on the circle. Display result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
