no need to create a temporary variable for checking palindrome. 
Just call the method using : 
		checkForPalindrome(entered_number, entered_number);
Just a suggestion though!!