Write a function called mostIntersecting which receives as parameters three arrays of type float, and an integer n; where n is the size of each array. The first two arrays are called X, and Y and contain the x and y coordinates respectively of the centers of n circles on the plane. The third array, called R, contains the radii of these circles. Your function should output the center and radius of the circle which intersects the most number of other circles in the array. This function must call another function “intersects” which accepts two circles and returns true if they intersect and false otherwise. You must implement both functions.Finally, implement the driver program (main program) that tests the function mostIntersecting.
Kindly help me out in writing this,I am left with a very few time and getting nothing to solve it.