Share all news to all guy ;)

Monday, December 22, 2014



              Write Java program to print the table of characters that are equivalent to the Ascii codes from 1 to 255. 

Code Here :

 public static void main(String[] args) {
       char Asci=1;
       for(int i=1 ; i<=255 ; i++){
            System.out.print(i+" "+Asci +" ");
            Asci++;
       }
       
    }
    
}



0 comments:

Post a Comment

Popular Posts

Powered by Blogger.