But seriously though, if you want to get help here, you need to show a lot more initiative than just asking a question. How do you expect us to put effort into solving your problem if you don't? Show us what you have tried, and please use the code tags. Tell us exactly what your problem is. If you don't know where to start, describe how you would do this on paper.
uh, something quick
public int palindromize(int number)
{
int retnum = number;
while((number/10) !=0)
{
retnum = retnum * 10 + (number%10);
number = number/10;
}
retnum = retnum * 10 + number;
return retnum;
}
Message was edited by:
sophisticatedd