Find the Area of a Triangle Using coordinates

Objective – Given three vertices coordinates or (X, Y) coordinates, write a program to find the area of a triangle.



Given the coordinates of the three vertices of any triangle are (X1, Y1), (X2, Y2) and (X3, Y3)

Java Code:


Area of Triangle: 7.0

1 Response

  1. lipsa patel says:

    The formula in the approach is wrong.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: