## Write an algorithm to find whether a number is Palindrome or not.

public static Boolean IsPalindrom(int[] abc)

{

int a, b;

for (a = abc.Length-1, b = 0; b < abc.Length-1 / 2; a--, b++)

{

if (abc[a] != abc[b])

{

return false;

}

}

return true;

}

{

int a, b;

for (a = abc.Length-1, b = 0; b < abc.Length-1 / 2; a--, b++)

{

if (abc[a] != abc[b])

{

return false;

}

}

return true;

}