you are given a set of N points e.g ((x1,y1),(x2,y2),(x3,y3)...or (3,6),(2,5),(4,1)..) on a plane . Find the pair of points that are closest to each other. all these given points
are on X-axis and on Y-axis according to that you have to calculate the closest points using given co-ordinates.

Thanks in Advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.