WAP in java to take alphabet and print ascii value for it?
Remember that chars in Java are just a special version of ints.
Cast the char as an int and you get the Unicode value for it.
Fortunately, the group of characters including letters and numbers
have the same value in both encoding systems.
for (char letter = 'a'; letter <= 'z'; ++letter) {
System.out.println("ASCII of " + letter + " = " + (int)
letter);
}