@@ -0,0 +1,1037 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        String input = scanner.nextLine();%0A        double area;%0A%0A        if (input.equals(%22square%22)) %7B%0A            double side = scanner.nextDouble();%0A            area = Math.pow(side, 2);%0A            System.out.println(area);%0A        %7D%0A        else if (input.equals(%22rectangle%22)) %7B%0A            double sideA = scanner.nextDouble();%0A            double sideB = scanner.nextDouble();%0A            area = sideA * sideB;%0A            System.out.println(area);%0A        %7D%0A        else if (input.equals(%22circle%22)) %7B%0A            double radius = scanner.nextDouble();%0A            area = Math.PI * Math.pow(radius, 2);%0A            System.out.println(area);%0A        %7D%0A        else if (input.equals(%22triangle%22)) %7B%0A            double side = scanner.nextDouble();%0A            double height = scanner.nextDouble();%0A            area = (side * height) / 2.0;%0A            System.out.println(area);%0A        %7D%0A    %7D%0A%7D%0A

Create 13.AreaOfFigures.java