Anayonkar Shivalkar wrote:
New value of y = current value of x - current value of y.
Thank you so much Anayonkar - it makes sense now.
The second part of this question has this piece of code in place of (y = x - y)
code:
x = x + 1
y = y + x
with outcome expected to be: 11 34 59
Am I correct in saying that, to work out the y-axis, you'd first need to add +1 to the value of x, before you can plug in that value into (y = y + x) to get your corresponding y-axis value?
Rgds
Ricci