Weite a program in java to print a series(pattern)
12345
1234
123
12
1
Answers
Answered by
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
1
Answer:
Hey mate please refer to the attachment
Attachments:
Similar questions