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
ava RectanglesAndPointsenter x coordinate for rectangle1: 1enter y coordinate for rectangle1: 5enter width for rectangle1: 2enter height for rectangle1: 64enter x coordinate for rectangle2: 3enter y coordinate for rectangle2: 7enter width for rectangle2: 1enter height for rectangle2: 9the distance between the centers of the rectangles is: 26.019223662515376
Solution