Get ASCII value at input word

char ch="A";

System.out.println((int)ch);

Leave a Comment