In this section, you will learn about the palindrome number and how to determine any number is palindrome or not. First of all we are going to read about the palindrome number. This is the number that the actual number and after reversing this, in both cases the number is same that is called palindrome number otherwise not. Brief description below:
Description of program:
With the help of this program, we are going to determine whether the given number is palindrome or not. To achieve the desired result, firstly we have to define a class named "Palindrome". After that we will ask the user to enter any integer type number and then we will reverse it. After reversing the number we will check whether the given number is palindrome or not. If the given number is larger, then it will display a message "Out of range!".
Here is the code of this program
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: June 4, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles