How do I turn a number. I mean something like this:
1234 -> 4321
Can someone tell me how?
You shhould split the original number into digits and build the reversed number.
By using arithmetic operators division '/' and modulus '%'
oh I get it
1234/10=123
1234/100=12
1234/1000=1
1234%10=4
1234%100=34
1234%1000=234
right?