Project 10: Finding Center and Radius of Circle given endpoints of diameter

A diameter of the circle above has endpoints (6, 0) and (-2, 6).  

The center of the circle is (2, 3)

The radius of the circle is 5

The equation of the circle is shown below:

Project 10: Variables 'x1', 'y1', 'x2', 'y2' have been initialized.

x1 represents the x-coordinate of a diameter endpoint (6 in the example above)

y1 represents the y-coordinate of a diameter endpoint (0 in the example above)

x2 represents the other x-coordinate of a diameter endpoint (-2 in the example above)

y2 represents the other y-coordinate of a diameter endpoint (6 in the example above)

Task: Appropriately initialize the values of 'x', 'y', and 'r'.

x and y represent the coordinates of the center of the circle and r represents the radius of the circle

**If your code works for 5 test cases in a row, you can enter your e-mail address.