//here we are converting the string into a lowercase string Here we discuss the logical explanation with an example to check if the string/number is a palindrome. She recently became interested in squares as well, and formed the definition of a nice and square number - it is a number that is a palindrome and the square of a palindrome at the same time. Examples: Input: 123 Output: No Input: 585 Output: Yes Approach: Since the number is entered as Command line Argument, there is no need for a dedicated input line; Extract the input number from the command line argument By. Example: 54345, 12321, 454 etc. Computer Programming - C++ Programming Language - Find Palindrome number in c++ sample code - Build a C++ Program with C++ Code Examples - Learn C++ Programming It is really very easy to check a String is either palindrome or not, But when you need to check it ignoring the characters are in lower case or not then it will be something called tricky program. Logic: Take a number. In general sense, Palindrome is a word such as that when we read that word character by character from forward, it matches exactly with a word formed when the same word is read from backward. document.write("
"+ myString + " is a Palindrome string