Write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367.
I have no idea how to even start after i put the basic stuff in like the #include and int main. Somebody want to show me how they would do it and based off your program I'll do a similiar one.