Computer Science, asked by ancyboby276, 3 months ago

import java.util.*;
public class pattern
{
public static void main (String args [])
{
Scanner sc = new Scanner(System.in);
int n , i , j , m , d ;
n=sc.nextInt();
switch (n)
{
case 1:
System.out.println("wrong choice");
break;

case 2:
System.out.println("Wrong choice");

case 3:
for(i=65;i<=69;i++)
{
for(j=65;j<=i;j++)
System.out.print((char)j);
System.out.println();
}
for(m=65;m<=69;m++)
{
for(d=65;d<=m;d++)
System.out.print((char)m);
System.out.println();
}
break;

default:
System.out.println("your choice is not in the above cases");

}
}
}
WHAT IS THE OUTPUT OF THIS PROGRAM

Answers

Answered by ray32
0

IKRRRRRRR dxexdvgbfcdzwEctvhbg de, execewseze4frgvrxeswvgcrzwztbtxwzzf

Similar questions