Be the first user to complete this post

  • 0
Add to List

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.

Example:

Approach:

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

Code:


Output:

Area of Triangle: 7.0



Also Read: