RectanglesAndPoints 1. write a class called RectanglesAndPointswith a main method 3. the program should work as in the examplesbelow 4. DO NOT USE MATH.POW Restrictions Cannot use Math.pow!!!!!!Need help finding the distance without math.pow avaRectanglesAndPoints enter x coordinate for rectangle1: 1 enter ycoordinate for rectangle1: 5 enter width for rectangle1: 2 enterheight for rectangle1: 64 enter x coordinate for rectangle2: 3enter y coordinate for rectangle2: 7 enter width for rectangle2: 1enter height for rectangle2: 9 the distance between the centers ofthe rectangles is: 26.019223662515376
Answer