here in this statement {Let i= 1, Sum= 0} please discribe why we took this in this question
Discribe a statement
hello @parasjain7086
we want to compute sum from 1 to n.
so intially we need to start from 1 right? thats reason i=1,it is indicating the starting number .
and sum=0 , becuase we havent included any number in our sum tillnow .
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.