(Geometry: two rectangles) Write a program that prompts the user to enter the center x-, y-coordinates, width, and height of two rectangles and determines whether the second rectangle is inside the first or overlaps with the first, as shown in Figure 1. Test your program to cover all cases.
FIGURE 1 (a) A rectangle is inside another one. (b) A rectangle overlaps another one.

Here are the sample runs:



We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.