Computer Science, asked by abhiagarwal00375, 2 months ago

it is the question of Java . please tell it's urgent.​

Attachments:

Answers

Answered by anmolwajid03
1

Answer:

class AlphabetsPattern

{

 public static void main(String abc[])

 {

  for(int i=5;i<1;i--)

  {

  int alphabet=65;                          //ASCII value of A

  for(int j=5;j<=i;j--)

  {

  System.out.print((char)alphabet);

  alphabet++;

  }

  System.out.println();

  }

 }

}

Explanation:

Similar questions