Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Simple Areas by mozurin
"use strict";
function simpleAreas(a, b, c)
{
const s = (a + b + c) / 2;
return (
s && Math.sqrt(s * (s - a) * (s - b) * (s - c)) ||
a * b ||
Math.PI * (a / 2) ** 2
);
}
July 4, 2018
Comments: