<awangdev>9. Palindrome Number_1.java
public boolean isPalindrome(int x) {
        if (x < 0 || (x != 0 && x % 10 == 0)) return false;
        int reverse = 0;
        while (x > reverse){
            reverse = reverse * 10 + x % 10;
            x = x/10;
        }
        return (x == reverse || x == reverse / 10);
    }
public boolean var_0 ( int var_1 ) {
  if ( var_1 < 0 || ( var_1 != 0 && var_1 % 10 == 0 ) ) return false ;
  int var_4 = 0 ;
  while ( var_1 > var_4 ) {
    var_4 = var_4 * 10 + var_1 % 10 ;
    var_1 = var_1 / 10 ;
  }
  return ( var_1 == var_4 || var_1 == var_4 / 10 ) ;
}
