import java.util.*;

/******************************************************
 * Distance.java - Computes the distance between 2 points
 *
 * @author  <Your Name>
 * @version 
 *****************************************************/
public class Distance
{
	/**************************************************
	 * The main method computes the distance
	 *
	 * @param args Command line arguments, unused
	 **************************************************/
	public static void main (String[] args)
	{
		double distance; // distance between the points

		double x1; // coordinates of a point
		double y1; // ""

		double x2; // coordinates of a point
		double y2; // ""

		Scanner scan;
		
		// Read in the two points
		scan = new Scanner(System.in);
		System.out.print ("Enter the x coordinate of the first point (as a double): ");
		x1 = scan.nextDouble();

		System.out.print ("Enter the y coordinate of the first point (as a double): ");
		y1 = scan.nextDouble();

		System.out.print ("Enter the x coordinate of the second point (as a double): ");
		x2 = scan.nextDouble();

		System.out.print ("Enter the y coordinate of the second point (as a double): ");
		y2 = scan.nextDouble();

		// Call the method to compute the distance

		// Print out the original points and the result with labels
		
		} // end main method
		
		/*********************************************************************
		 * calcDistance computes the distance between two points
		 *
		 * @param x1 The first x coordinate
		 * @param y1 The first y coordinate
		 * @param x2 The second x coordinate
		 * @param y2 The second y coordinate
		 * @return The distance
		 ********************************************************************/ 
		public static double calcDistance(double x1, double y1, double x2, double y2)
		{
			// add in any other local variables that you need.
			double distance; 
			
			// Use the Math class to help you calculate the distance
			
			
			return distance;
		}
	}
}
