Write a program to input a number from the user and tell whether it is a palindrome number or not. A palindrome number is a number that is same after reverse.
For example: 545, 151, 34543. 343, 1123211 are palindrome numbers.
- The program inputs a number from the user at line 11 in the variable a.
- The variable b defined at line 11 will be used to store the value in the variable a with its digits reversed. This is achieved in the while loop from line 12 to 19.
- Then the input is compared to its reverse and the reslt is displayed accordingly