• 08-21-2010, 06:19 PM
tepong
Write a program that prompts the user to enter the center coordinates and radius of two circles and determines whether the second circle is inside the first or overlaps with the first.

Hint: circle2 is inside circle1 if the distances between the two centers
(<=|r1 – r2|)
circle2 overlaps circle1 if the distance between the two centers
(<=|r1 + r2|)
• 08-21-2010, 06:38 PM
Fubarable
Hello, and welcome to the forum.

So in essence what you've done is to give us your entire assignment without asking a question and without showing any evidence of effort on your part, and I'm afraid that in this situation there's not much that we can do for you other than to direct you to a tutorial or two.

I suggest that you post your best solution that you've created so far, and ask as specific questions as possible, and we'll be much better able to help. If you really have no idea how to begin here, then please have a look here: Starting Writing a Program. It's a well-written article that can help.

Much luck