hi im new at programming, and i need to write a program that takes an integer value and returns the number with its digits revered. sooo basically a pallindrome? ex. 12345 would be 54321

but heres the catch i dont know how many integers the user will enter. so how would i go about writing this code?

any help is greatly appreciated thanks.