Integer part of the geometric mean of the divisors of N | C # implementation of the approach ; Function to return the integer part of the geometric mean of the divisors of n ; Driver code
using System ; class GFG { static int geometricMean ( int n ) { return ( int ) Math . Sqrt ( n ) ; } public static void Main ( String [ ] args ) { int n = 16 ; Console . WriteLine ( geometricMean ( n ) ) ; } }