Pages

Wednesday, 28 December 2016

16.8 (Geometry: two circles intersect?)
Write a program that enables the user to specify the location
and size of the circles and displays whether the two circles
intersect, as shown in Figure 16.39a. Enable the user to point the
mouse inside a circle and drag it. As the circle is being dragged,
the circle’s center coordinates in the text fields are updated.