palindrome

while(num != 0)
{
rem = num%10;
rev = rev*10 + rem;
num = num/10;
}

Comments

Popular posts from this blog

Array and Object Creation - JavaScript

Groovy Tuples

Spring Cert Notes