Computer Science, asked by tanishka90, 1 year ago

Weite a program in java to print a series(pattern)

12345
1234
123
12
1​

Answers

Answered by Anonymous
5

Answer:

Hey mate ✌️

Explanation:

public class Pattern

{

public static void main ()

{

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

{

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

{

System.out .print( "Required Pattern:"+j);

}

Shstem.out.println( );

}

}

}

Hope it helps ❣️❣️

Answered by Anonymous
1

Answer:

Hey mate please refer to the attachment

Attachments:
Similar questions