CMIS 102 Lines homework Write a C++ program that reads from a file of points data (x and y pairs) and draws lines connecting to each successive point. A small red circle should be at each point. The file's name is input by the user. The first number in the file is the number of points it has. It also sums and outputs the distance of the lines. And the longest line's length. And the shortest line's length. Here's an example of an input file of points: 6 10 20 300 500 500 10 10 500 300 300 300 500 See its image file on the class website. Its results: Sum of distances: 2335.29 Max distance line: 692.965 Min distance line: 200