. Write a function distance that calculates the Cartesian distance between two points (x1, yl) and (x2, y2). All numbers and retum values should be of type double. Include such function in a program that reads three points and determine the closest two points to each other’s. Output of the program should be something like the following: Enter the three points coordinates sequentially (xl yl x2 y2 x3 y3): 34 2156 closest distance-2.83 between 3,4 and 5,6.
PayPal Gateway not configured
PayPal Gateway not configured