C++ Program to find whether the number is Palindrome or not.

 



"Palindrome number defined as the number in which the result is same hen the number/digit/result is reversed".


Example: 1. 52325.
                 2. GADAG.

                       1.   Here in example 1. we can see that 5,2 is mentioned at first and center number is 3, where as last two numbers are reverse of first two number i.e 5 and 2 becomes 2,5.

                        2. Here in example 1. we can see that G,A is mentioned at first and center alphabet is D, where as last two alphabets are reverse of first two alphabet i.e G and A becomes A and G.


Sample Code for Palindrome is found here: 

No comments:

Powered by Blogger.