How to print
54321
5432
543
54
5
Answers
Answered by
1
Press ctrl+P
Then it will be Print
Answered by
8
Answer:
class nested2
{
void display()
{
for(int i=1;i<=5;i++)
{
for(int j=5;j>=i;j--)
{
System.out.print(j);
}
System.out.println();
}
}
}
Similar questions