hi! i'm beginning to like C, i find it very challenging. and i have this problem, that confuses me here:

Construct a C that will accept 5 digit number, determined the reversed number and display the message "equal" if the original 5 digit number and the reversed number is equal, otherwise display "not equal".

- what confuses me is that how can i determined the reversed number. i have this condition,

input 12345, the reversed number is 54321

Please help me!