How does i become equal to n if i<n? What I mean is that if i<n, then according to i=i+1; condition, shouldn’t it iterate till n-1? Please clear this query.
Loop completion
hi @vedanshbalooni12_2bc01bab5aef013d yes it will iterate to n-1 and the moment it will become n it will break the rule
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.