reverse a number digits
Write program that reverse a number digits. The program will ask the user to enter a number (one variable) consist from three digits then the program reverse the digits of the number.
Note: you must define the number as integer. To solve the problem use the / and the %
The program output might be like this
Enter any number consist from three digits = 123
The reverse of this number= 321
Marked in red is what you need to figure out. Even with the omissions, someone will probably cyber-whip me for helping you this much.
int main ()
std::cout<<"enter a number";
Yup, that's about as far as you can go without giving the whole game away :)