Question: java: Given the height and length of a triangle, assign triArea with the area of the triangle. Ex: If the input is 10 8, then
java: Given the height and length of a triangle, assign triArea with the area of the triangle. Ex: If the input is 10 8, then the output is: Area: 40 Note: The area of a triangle is calculated by multiplying height and length, and dividing by 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
