Originally Posted by shabbir View Post
Show your code i.e. the attempt to code it
actually i don't know to code it............tats my probs....i just know how 2 begin

   import java.io.*;
            class Number
            Public static void main (String [] args) throws IOException
                      System.out.print(“Enter the number:”);
                     InputStreamReader reader = new InputStreamReader(System.in);
                     BufferedReader in =new BufferedReader(reader);
                     String text=in.readLine();

Last edited by shabbir; 28Jun2010 at 09:22.. Reason: Code blocks