<awangdev>Power of Three_2.java
public boolean isPowerOfThree(int n) {
        if (n <= 0) {
            return false;
        }
        if (n == 1) {
            return true;
        }
        if (n % 3 != 0) {
            return false;
        }
        return isPowerOfThree(n / 3);
    }
public boolean sample_funcname ( int n ) {
  if ( n <= 0 ) {
    return false ;
  }
  if ( n == 1 ) {
    return true ;
  }
  if ( n % 3 != 0 ) {
    return false ;
  }
  return isPowerOfThree ( n / 3 ) ;
}
