ShippingContainer.java
package shapes;

import shapes.SRectangle;


import java.io.InputStream;
import java.util.Scanner;


public class ShippingContainer {


    public static void main(String[] args) {


       Scanner scanner = new Scanner(System.in);
      System.out.print("Input height: ");
       int inputHeight = scanner.nextInt();
       System.out.print("input width: ");
       int inputWidth = scanner.nextInt();
       System.out.print("input length: ");
       int inputLength = scanner.nextInt();

       SRectangle wall = new SRectangle(inputHeight, inputLength);
       SRectangle floor = new SRectangle(inputLength, inputWidth);
       SRectangle ceiling = new SRectangle(inputLength, inputWidth);

       SRectangle face = new SRectangle(floor.diagonal(), inputHeight);

        double key = face.diagonal();
        System.out.println("key =  " + key);
        double distance = key;
        System.out.println("distance =  " + distance);
        System.out.println(wall.diagonal());
    }

}