write a program to develop following pattern using nested loop:
55555
4444
333
22
1
Answers
Answered by
0
Answer:
class pattern
{
void main()
{
int i, j;
for(i=5;i>=1;i--)
{
for(j=1;j<=I; j++)
{
System.out.print(i);
}
System.out.println();
}
}
}
Explanation:
This program is in Java
Answered by
0
Answer:
ohfjgdhkcuhdhuftugfghfdggddfg
Similar questions