Hello guys, i have to write a program which deals with reversing number and i need to solve it without using the while statement.
the program conditions is to get a number from the user between 100 and 999 and the first digit of the number and the last digit of the
number, can't be the same.
and my task is to reverse that number, but without using the "while" statement.
e.g. "reverse the number 486" ------> the reversed number is 684.
Thank you all!