Smallest N digit number which is a perfect fourth power | C # implementation of the approach ; Function to return the smallest n - digit number which is a perfect fourth power ; Driver code
using System ; class GFG { static int cal ( int n ) { double res = Math . Pow ( Math . Ceiling ( ( Math . Pow ( Math . Pow ( 10 , ( n - 1 ) ) , 1 / 4 ) ) ) , 4 ) ; return ( int ) res ; } public static void Main ( ) { int n = 1 ; Console . Write ( cal ( n ) ) ; } }