Question
**4.29 (Geometry: two circles) Write a program that prompts the user to enter the center coordinates and radii of two circles and determines whether the
**4.29
(Geometry: two circles) Write a program that prompts the user to enter the center coordinates and radii of two circles and determines whether the second circle is inside the first or overlaps with the first, as shown in Figure 4.11. (Hint: circle2 is inside circle1 if the distance between the two centers
Figure 4.11
(a) A circle is inside another circle. (b) A circle overlaps another circle.
Make sure to read the rubric to see the additional requirements.
Rubric
5 pts: Software Development Lifecycle Plan
5 pts: User is prompted for input and can enter values properly (Note: You must get values one at a time, not a comma separated list)
20 pts: Properly detect a circle inside another circle, and determine which circle is inside which circle (NOTE the difference from book requirements)
10 pts: Properly detect circles overlapping
10 pts: Properly detect circles that do not overlap at all
5 pts: Proper naming conventions for variable names
5 pts: Proper comments at the top of the file with your name, assignment number, and description of the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started