ShippingContainer.java
package shapes;

import java.util.Scanner;

public class ShippingContainer {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("Please enter the length of the shipping container: ");
        double containerLength = scan.nextDouble();
        System.out.println("Please enter the width of the shipping container: ");
        double containerWidth = scan.nextDouble();
        System.out.println("Please enter the height of the shipping container: ");
        double containerHeight = scan.nextDouble();

        SRectangle face = new SRectangle(containerLength,containerWidth);
        SRectangle key = new SRectangle(face.diagonal(),containerHeight);
        double distance = key.diagonal();
        System.out.println("Max Length of Item : " + distance);
    }
}