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.



LinkBack URL
About LinkBacks



strings we havent coverd thats like chaper 16 lol we are on 3
, I pretty much gave you the solution without using strings. Just throw it in a loop and you're done:
thanks for helpnig i get whiles easy! i appreciate it but will that work no matter how many ints they put in? 