public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.print("Enter x-coordinate of start city: ");
        double startX = scan.nextDouble();
        System.out.print("Enter y-coordinate of start city: ");
        double startY = scan.nextDouble();
        System.out.print("Enter x-coordinate of end city: ");
        double endX = scan.nextDouble();
        System.out.print("Enter y-coordinate of end city: ");
        double endY = scan.nextDouble();
        System.out.print("How fast will you be going? ");
        double speed = scan.nextDouble();
        
        double dist = getDistance(startX, startY, endX, endY);
        double time = dist / speed;        
        System.out.printf("It will take you %f hours to travel\n", time);
        System.out.printf("You are traveling in the approximate direction %s\n", 
                getDirection(startX, startY, endX, endY));
        
        scan.close();
    }