Calculate Volume of Dodecahedron | C # program to calculate Volume of dodecahedron ; utility Function ; Driver Function
using System ; public class GFG { static float vol_of_dodecahedron ( int side ) { return ( float ) ( ( ( 15 + ( 7 * ( Math . Sqrt ( 5 ) ) ) ) / 4 ) * ( Math . Pow ( side , 3 ) ) ) ; } static public void Main ( ) { int side = 4 ; Console . WriteLine ( " Volume ▁ of ▁ dodecahedron ▁ = ▁ " + vol_of_dodecahedron ( side ) ) ; } }