You are viewing a single comment's thread. Return to all comments →
for(n=0; n<=2000; n++)
for(r=0; r<=n; r++)
if(r==0 || r==n)
i am not getting why this two loops are being used
sir will you please make me understnad with example?