Give the output of the following; [4]
for(int i=5;i>=1;i--)
{
for(int j=i;j>=1;j--)
{
System.out.print(j);
}
System.out.println();
}
Answers
Answered by
3
Answer:
54321
4321
321
21
1
Explanation:
Because it print j
Similar questions