Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the corner points of a triangle ( x 1 , y 1 ) , ( x 2 , y 2 ) , ( x
Given the corner points of a triangle compute the area.
Hint: The area of the triangle with corner points and is
mport java.util.Scanner;
ublic class Geometry
Computes the area of a triangle
@param the coordinate of the first corner
Qparam the coordinate of the first corner
Qparam the coordinate of the second corner
Qparam the coordinate of the second corner
eparam the coordinate of the third corner
Qparam the coordinate of the third corner
creturn the area of the triangle
Your code goes here I
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started