You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letsquareOfTriangle=(halfPerimeterOfTriangle*(halfPerimeterOfTriangle-sideOfTriangleA)*(halfPerimeterOfTriangle-sideOfTriangleB)*(halfPerimeterOfTriangle-sideOfTriangleC))**(1/2);//Search Square of triangle by the Herons formula
squareOfTriangle=squareOfTriangle.toFixed(2);//Rounding to the hundredth
console.log("Perimeter of triangle: "+perimeterOfTriangle)
console.log("Square of triandle: "+squareOfTriangle)