1.0.2 • Published 4 years ago
geometric-mean v1.0.2
Description
Make a program that obtains the geometric mean of three numbers.
Usage
let Geometric_Mean=require("./Geometric_Mean").Geometric_Mean;
let geo=new Geometric_Mean(7,6,5);
let calc=geo.calculate();
if(calc===false)
{
console.log("Cannot calculate geometric mean");
}
else
{
console.log("The geometric mean is: "+calc)
}