ShippingContainer.java
1    package shapes;
2    
3    import java.util.Scanner;
4    
5    public class ShippingContainer {
6    
7        public static void main(String[] args){
8            Scanner scanner = new Scanner(System.in);
9            int rectangle1;
10           int area;
11           System.out.println("What is the Height");
12           int height = scanner.nextInt();
13           System.out.println("What is the Length");
14           int length = scanner.nextInt();
15           System.out.println("What is the Width");
16           int width = scanner.nextInt();
17           rectangle1 = width ^ 2 + length ^ 2;
18           area = rectangle1 ^ 2 + height ^ 2;
19           System.out.println("The line is  " +area+ " long");
20       }
21   }
22