Computer Science, asked by kshamainnaark2000, 1 month ago

f) To print the pattern 54321 5432 543 54 5 using basic loops

Answers

Answered by royalrajputana0407
0

Answer:

okkk

Explanation:

class nest5

{

static void main()

{

for(int i=1; i<=5; i++)

{

for(int j=5; j>=i; j--)

{

System.out.print(j);

}

System.out.println();

}

}

}

Similar questions