Java Program to Print the English Alphabets In Lower Case

Write a java Program to print the following output:

Output:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Program or Solution

				
			
					
//To Print All The English Alphabets In Upper Case...

import java.util.*;

class Program
{
  public static void main(String args[])
   {
      int i;
      char ascii;
      Scanner sc=new Scanner(System.in);

     System.out.println("The Alphabets In Upper Case:");
     for(i=65;i<=90;i++)
       {
           ascii=(char)i;
           System.out.println(" "+ascii);
      }

  }
}
			
				
			

Program Explanation