@@ -0,0 +1,492 @@
+import java.util.Scanner;%0A%0Apublic class triangleArea %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner input=new Scanner(System.in);%0A%09%09int XOne=input.nextInt();%0A%09%09int YOne=input.nextInt();%0A%09%09int XTwo=input.nextInt();%0A%09%09int YTwo=input.nextInt();%0A%09%09int XThree=input.nextInt();%0A%09%09int YThree=input.nextInt();%0A%09%09int area=(XOne*(YTwo-YThree)+XTwo*(YThree-YOne)+XThree*(YOne-YTwo))/2;%0A%09%09if (area%3E0)%7B%0A%09%09%09System.out.printf(%22area is : %25d%22, area);%0A%09%09%7D%0A%09%09else%7B%0A%09%09%09System.out.println(%220%22);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create triangleArea.java