ShippingContainer.java
package shapes;

import java.util.Scanner;

public class ShippingContainer {
    public static void main(String[] args) {
        Scanner Shipping = new Scanner(System.in);
        System.out.print("Input the width of container: ");
        double width = Shipping.nextDouble();
        System.out.print("Input the length of container: ");
        double length = Shipping.nextDouble();
        System.out.print("Input the height of container: ");
        double height = Shipping.nextDouble();

        System.out.println("dimensions of container are:");
        System.out.println("The width --> " + width);
        System.out.println("The length --> " + length);
        System.out.println("The height --> " + height);

        SRectangle Face  = new SRectangle(width, length);
        SRectangle key = new SRectangle(Face.diagonal(), height);

        double distance = key.diagonal();
        System.out.println("The distance between two far corners of the container = " + distance);

    }
}