Write a program to print pattern like
1
21
321
4321
54321
Answers
Answered by
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
0
Answer:
mistake is there in program
Similar questions
English,
4 months ago
English,
4 months ago
World Languages,
9 months ago
Science,
9 months ago
Biology,
11 months ago