Triangle Area By Shoelace

Computer Mathematics Medium 3 views
Back to Questions

Problem Description

Compute area of triangle from 3 points (2D).

Input Format

Six numbers x1 y1 x2 y2 x3 y3.

Output Format

Area with 1 decimal.

Sample Test Case

Input:
0 0 4 0 0 3
Output:
6.0

Constraints

|coords|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev