C # program to check if given number is power of 4 or not
using System ; class GFG { static double logn ( int n , int r ) { return Math . Log ( n ) / Math . Log ( r ) ; } static bool isPowerOfFour ( int n ) {