descending rather than ascending multiple | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

descending rather than ascending multiple

How can i make like this code but descending rather than ascending https://code.sololearn.com/cr5RKeIe32FJ/?ref=app

12th Sep 2021, 4:26 AM
STOP
STOP - avatar
3 Answers
12th Sep 2021, 4:26 AM
STOP
STOP - avatar
0
STOP Just use loop in reverse order like this: for (int j=10; j > 0; j--)
12th Sep 2021, 4:32 AM
A͢J
A͢J - avatar
12th Sep 2021, 4:33 AM
STOP
STOP - avatar