@@ -0,0 +1,1159 @@
+package homework;%0A%0Aimport java.util.Scanner;%0A%0Aimport sun.awt.windows.ThemeReader;%0A%0Apublic class StartHomework %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner scanner = new Scanner(System.in);%0A%09%09%0A%09%09System.out.println(%22Calculating rectangle area. Please input 2 numbers:%22);%0A%09%09int a = scanner.nextInt();%0A%09%09int b = scanner.nextInt();%0A%09%09%0A%09%09long area = RectangleArea.rectangleArea(a, b);%0A%09%09System.out.println(area);%0A%09%09%0A%09%09System.out.println(%22Calculating triangle area. Please input 6 numbers:%22);%0A%09%09int aA1 = scanner.nextInt();%0A%09%09int aA2 = scanner.nextInt();%0A%09%09int bB1 = scanner.nextInt();%0A%09%09int bB2 = scanner.nextInt();%0A%09%09int cC1 = scanner.nextInt();%0A%09%09int cC2 = scanner.nextInt();%0A%09%09%0A%09%09area = TriangleArea.triangleArea(aA1, aA2, bB1, bB2, cC1, cC2);%0A%09%09System.out.println(area);%0A%09%09%0A%09%09System.out.println(%22Calculating Smalest of 3 numbers. Please input 3 numbers:%22);%0A%09%09double first = scanner.nextDouble();%0A%09%09double second = scanner.nextDouble();%0A%09%09double third = scanner.nextDouble();%0A%09%09double smallest = SmallestOfThreeNumbers.smallestOfThreeNumbers(first, second, third);%0A%09%09%0A%09%09System.out.println(smallest);%0A%09%09%0A%09%09scanner.close();%0A%09%7D%0A%0A%7D%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A%0A

add start points