Search This Blog

Thursday, 16 February 2012

Java Programs (Printing out ASCII Codes of letters)


class asciiCodes
    {
        public static void main()
        {
            char i;
            char j;
            for(i='a';i<='z';i++)
        {
            System.out.println(i+"       "+(int)i); // The (int) part converts letters to asciiCode
        }
    }
}

1 comment:

  1. CASINO | JMT Hub
    The Casino at JMT 평택 출장마사지 brings you the best 동해 출장샵 in craft beer 안동 출장안마 and food. With more than 20 tables 광양 출장마사지 from all over the 구미 출장안마 world, including your favorite beer and drink.

    ReplyDelete