Problem - Calculate Distance between two points
Write a program that calculates the distance between two points in a 2D plane. The program should have a method called distance that takes in four double parameters representing the x and y coordinates of the two points and returns the distance between them.