0
I've written a program prints individual numbers, but I want her to appear in descending in java
I have a question I've written a program prints individual numbers, but I want her to appear in descending rather than ascending order How can I do that? I will attach my attempts below Thanks
5 Réponses
+ 4
STOP so you mean *ascending* order.
It's simple, Just reverse the loop.
Like this👇
https://code.sololearn.com/cJI0OOU60aXF/?ref=app
+ 1
https://code.sololearn.com/ck5gBA10VOjQ/?ref=app
+ 1
STOP you progam already printing those numbers in descending order. Are you sure you shared the correct program with us ?
+ 1
Arsenic i want output start from the smaller number to the big , like this :
51
53
55
..
..
+ 1
thank you Arsenic