Question – 5
import java.util.*;
class menu
{
    public static void main (String args[])
    {
        Scanner obj = new Scanner (System.in);
        int choice;
        System.out.print("Enter 1 for unicode of letters, 2 Pattern : ");
        choice = obj.nextInt();
        switch(choice)
        {
            case 1: System.out.println("\tLetters "+ " " + "Unicode");
            for (char c='A'; c<='Z'; c++)
            {
                System.out.println("\t   "+c +"      "+ (int)c);
            }
            break;
            case 2:
            for (int i=1; i<=5;i++)
            {
                for (int j=1; j<=i; j++ )
                {
                    System.out.print(j+" ");
                }
                System.out.println();
            }
        } // End of switch
    }// End of main
}// End of class