Write a function that calculates the distance between any two points in xy-coordinate plane. Then write a complete program that asks the user to input two points from keyboard and call the above user-defined function to measure the distance between them. Note: You must use struct!!!
Allocate memory dynamically for an int array with 100 elements. Next, assign the value of 1 to all the elements of the array and, finally, delete the array.