hi , I have a issue that has stumped me. Now.. I am trying to solve this qustion but i can not do it
so pls help
. Write a program to determine whether an integer number input by a user is a palindrome or not. A number is a palindrome if its reversal is the same as itself. For example, 121 is a palindrome, 878 is a palindrome, and 667 is not a palindrome since the reversal of this number is 766. The following methods will be used:
// Return the reversal of an integer, i.e. reverse(456) returns 654
public static int reverse(int number)
//Return true if the number is palindrome
public static Boolean isPalindrome(int number)
so pls help
. Write a program to determine whether an integer number input by a user is a palindrome or not. A number is a palindrome if its reversal is the same as itself. For example, 121 is a palindrome, 878 is a palindrome, and 667 is not a palindrome since the reversal of this number is 766. The following methods will be used:
// Return the reversal of an integer, i.e. reverse(456) returns 654
public static int reverse(int number)
//Return true if the number is palindrome
public static Boolean isPalindrome(int number)