Write a program to print alphabets from A to Z.


import java.util.*;
public class AtoZ {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("THE ALPHABET SERIES");
System.out.println("UPPER CASE A to Z");
for(int i=0;i<26;i++)
{
int c = i+65;
char ch= (char)c;
System.out.print(ch+"\t");
}
System.out.println();
System.out.println("LOWER CASE A to Z");
for(int i=0;i<26;i++)
{
int c= i+97;
char ch = (char) c;
System.out.print(ch+"\t");
}
}
}