Computer Science, asked by mehtatwinkle40, 9 months ago

Write a program to print pattern like
1
21
321
4321
54321​

Answers

Answered by ash1080ekhar
4

class Pattern

{

public static void main()

{

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

{

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

System.out.print(j);

System.out.println();

}

}

}

Answered by aritra4467
0

Answer:

mistake is there in program

Similar questions