calculate a number is a palindrome code example
Example 1: formula for finding a mathematical palindrome
how to check if a number is a palindrome or not
Example 2: check palindrome
bool isPlaindrome(string s)
{
int i=0;
int j=s.length()-1;
while(ij) return 1;
else return 0;
}