Java Program to Compute the Area of a Triangle Using Determinants
In order to compute the area of the triangle, two parameters are needed namely base and height. For this simply the variables are assigned with zeros. The area of the triangle can be computed by using the same third-grade mathematics formula. Area = 1/2(Base * Height) Illustration: Input: (1,3) (5,-