The following formula gives the distance between two points (x1,y1) and (x2, y2) in the Cartesian plane:
Given the center and a point on a circle, you can use this formulato find the radius of a circle. Write a program that prompts theuser to enter the center and a point on the circle. The programshould then output the circle’s radius, diameter, circumference,and area. Your program must have at least the followingfunctions:
a. distance: This method takes as its parameters four numbers thatrepresent two points in the plane and returns the distance betweenthem.
b. Radius: This method takes as its parameter
PayPal Gateway not configured
PayPal Gateway not configured