Friday, March 7, 2014

To find whether the number is palindrome or not using function

In the previous page I have written the program to read the number until user enters 1 and to display the no of even and odd number entered by the user. Now lets do something new. In this page I am going to write the program to find whether the entered .number is palindrome. For this we should know what palindrome means. If the reversed number is equal to the enterd number then the number is said to be palindrome.For example: 343 is palindrome.
The main output of the following program is:
The main source code of the program is:


No comments:

Post a Comment