Program to calculate volume of Ellipsoid | Function to find the volume ; Driver Code
function volumeOfEllipsoid ( r1 , r2 , r3 ) { let pi = 3.14 ; return 1.33 * pi * r1 * r2 * r3 ; } let r1 = 2.3 , r2 = 3.4 , r3 = 5.7 ; document . write ( " " + volumeOfEllipsoid ( r1 , r2 , r3 ) . toFixed ( 2 ) ) ;