sir can you please tell what is i=1 , sum=0 and n in this case
Please explain my dought
question is we have to find the sum of numbers from 1 to n
so we add nos from 1 to n
for that we run a loop from i=1 to i=n
i is a variable
and inside loop we add them and store in the sum variable
i hope now everything clear
if not feel free to ask
no sir still not clear
what is not clear?
plz watch the video again
there it is explained better
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.