ShippingContainer.java
package shapes;

import java.util.Scanner;

public class ShippingContainer {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.println("enter the length");
        double length  = scanner.nextDouble();
        System.out.println("enter the width");
        double width = scanner.nextDouble();
        System.out.println("enter the height");
        double height = scanner.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);
        System.out.println("the dimension of the face = " +face.toString());
        SRectangle key= new SRectangle(face.diagonal(),height);
        System.out.println("the dimension of the key = " +key.toString());

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