-
5 4 3 2 1
5 4 3 2
543
54
5
computer science nested for loop
Answers
Answered by
0
Answer:
public class Pattern
{
public static void main ()
{
int n=5;
int I,J;
for (i=n;i>=n;i--)
{
for (j=n;j>=n;j--)
{
System.out.print(I);
}
System.out.println ()
}
}
Similar questions