Question: Design (pseudocode) and implement (source code) a program (name it Circles) to determine if a circle is either completely inside, overlapping with, or completely outside
Design (pseudocode) and implement (source code) a program (name it Circles) to determine if a circle is either completely inside, overlapping with, or completely outside another circler. The program asks the user to enter the center point (X1, Y1) and the radius (R1) for the first circle C1, and the center point (X2, Y2) and the radius (R2) for the second circle C2. The program then determines if the second circle C2 is either completely inside, or overlapping with, or completely outside the first circle C1. Hint: use the sum of R1 and R2 and the distance between the centers to solve the problem. Document your code, properly label the input prompts, and organize the outputs as shown in the following sample runs. Need answered in Python
Sample run 1:
Circle 1 center is: (0,0)
Circle 1 radius is: 6
Circle 2 center is: (1,1)
Circle 2 radius is: 1
Judgment: Circle 2 is completely inside circle 1
Sample run 2:
Circle 1 center is: (0,0)
Circle 1 radius is: 2
Circle 2 center is: (7,7)
Circle 2 radius is: 1
Judgment: Circle 2 is completely outside circle 1
Sample run 3:
Circle 1 center is: (0,0)
Circle 1 radius is: 3
Circle 2 center is: (2,2)
Circle 2 radius is: 3
Judgment: Circle 2 is overlapping with circle 1
need answered in python in pseudocode and source code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
