Computer Science, asked by dhruv0092, 1 year ago

WAP for pattern 1 plllzzz ​

Attachments:

Answers

Answered by ankitasaloafer
1

import java.util.scanner;

class menu

(this things are in the first...)then photo

Attachments:

dhruv0092: with the help of buffered reader pllz tell me
ankitasaloafer: Sorry bro I can't I hve done through this only..
dhruv0092: okkk thanks broo
ankitasaloafer: :-)
Answered by lenovoideapadanishka
0

import java.util.*;

class pattern8

{

public static void main(String args[])

{

Scanner sc=new Scanner(System.in);

int i,j,k;

for(i=5;i>=1;i--)

{

k=65;

for(j=1;j<=i;j++)

{

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

k++;

}

System.out.println();

}

}

}

HOPE IT HELPS YOU ^_^

please mark me as the brainliest!!!!

Similar questions