for(int i=10;i>=5; i--) { System.out.println("i="+i); } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

for(int i=10;i>=5; i--) { System.out.println("i="+i); }

Write output

8th Sep 2021, 6:45 AM
Asmit Choudhary
Asmit Choudhary - avatar
2 Answers
+ 1
Which one is correct please tell me
8th Sep 2021, 7:06 AM
Asmit Choudhary
Asmit Choudhary - avatar
0
i=10 i=9 i=8 i=7 i=6 i=5
8th Sep 2021, 6:58 AM
Saurabh
Saurabh - avatar