Saturday, 19 February 2011

Palindrome program in java



Java code to check whether give number is palindrome number or not





import java.io.*;




class Test {

    

     public static void main(String[] args) throws IOException {

         

          int num,r,sum=0,temp;

          System.out.println("Enter a number:");

          BufferedReader br=new BufferedReader(new InputStreamReader (System.in));

          num=Integer.parseInt(

No comments:

Post a Comment