0

Help me out on this program

show me the reason why i prints 1 to 20 if there is no condition for it https://code.sololearn.com/cAtsst72EH3C/?ref=app

8th Oct 2017, 2:50 PM
Aditya Narayan Mishra
Aditya  Narayan Mishra - avatar
4 Answers
+ 2
The loop stops when j>= 20. Everything in the loop is done. It looks normal to me.
8th Oct 2017, 2:57 PM
Paul
Paul - avatar
0
run the code and then say
8th Oct 2017, 2:54 PM
Aditya Narayan Mishra
Aditya  Narayan Mishra - avatar
0
condition is if j<=20
8th Oct 2017, 2:54 PM
Aditya Narayan Mishra
Aditya  Narayan Mishra - avatar
0
yeahh i got it bro
8th Oct 2017, 2:58 PM
Aditya Narayan Mishra
Aditya  Narayan Mishra - avatar