The input is a three-digit decimal integer N that consists of digits [1-9] except 0. For example, 489 is such a number, while 101 is not. The task is to reverse the order of the digits in N to get a new three-digit number M, and compute |N-M|/10. |N-M| means the absolute difference of N and M. For example, if N is 489, then M is 984, and the answer should be 49.5.
A three-digit integer consisting of [1-9] except 0
The absolute difference of the input number and its reversal divided by 10.
The answer should be expressed as a floating point number with precision to the first decimal place. For example, 333.0 or 736.5
Note that you do not need to print ‘\n’ at the end of the output.