I am writing a program to calculate a numeric palindrome, and to do that i have to reverse the digits of a number, and add that to the original.
The best way i can think of to reverse the number would be to put each digit individually in an array, reverse the digits, then put it back together as an int. My problem is putting each digit of a number into an array in a spot by themselves. Any help you could give, even just telling me what this is called so i can research it, would be greatly appreciated.