Mar-02-2019, 02:15 PM
hi,
if you looks the first code, every time you iterate a new 'n' in 'r', it s added to 'x' and 'x' change after each iteration.
in the second one, for each iteration, you give a new value for 'y' which is the value of 'n' plus the value of 'x' and x=0.
I hope that will be helpful
if you looks the first code, every time you iterate a new 'n' in 'r', it s added to 'x' and 'x' change after each iteration.
in the second one, for each iteration, you give a new value for 'y' which is the value of 'n' plus the value of 'x' and x=0.
I hope that will be helpful