import java.util.Scanner;
public class abejeroact22 {
public static void main(String[] jda) {
Scanner input = new Scanner(System.in);
int choice;
System.out.println("MENU\n 1. Lower Case\n 2. Upper Case\n 3. Exit");
do
{
System.out.println("Enter Your choice");
choice = input.nextInt();
continue;
}
while(choice!=1 && choice!=2 && choice!=3);
switch (choice)
{
case 1:
{
System.out.println("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");
}
break;
case 2:
{
System.out.println("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");
}
break;
case 3:
{
System.out.println("Exit");
}
break;
}
}
}
No comments:
Post a Comment