A palindromic number is a number that remains the same when its digits are reversed. Example: 16461.
Given a number num, we have to check whether num is a palindrome number of not.
Example:
Input:
num = 12321
Output:
12321 is a palindrome number
Input:
num = 12345
Output:
12345 is not a palindrome number
Program to check number is palindrome number or not in Kotlin
Output
need an explanation for this answer? contact us directly to get an explanation for this answer