public static double cubicRootInteger(double n)
return (System.Math.Pow(n, (1/3)));
public static double cubicRootDouble(double n)
return (System.Math.Pow(n, (1.0/3.0)));
public static void Main()
Console.WriteLine(cubicRootInteger(64));
Console.WriteLine(cubicRootDouble(64));