Calculate Volume of Dodecahedron | utility Function ; Driver Function
function vol_of_dodecahedron ( side ) { return ( ( ( 15 + ( 7 * ( Math . sqrt ( 5 ) ) ) ) / 4 ) * ( Math . pow ( side , 3 ) ) ) ; } let side = 4 ; document . write ( " " + vol_of_dodecahedron ( side ) . toFixed ( 2 ) ) ;