0
I have a doubt about the cycle being , that is, I have an instruction for and I have to get the result that the machine gave. have this :
for(x=2,Y=1;X < 11;x++)y+=x++
I know the X variable starts at 2 and Y at 1. I know as long as X is less than 11, it’s a loop. Here is my problem. Which cycle. do x+1 until X has the value of 11? Or do I make the rule out which is:
x=x+1
y=y+x
Thank you
I meant instruction . So complicated because I can’t decipher this code. What I want is to know the final result of X and Y
– ChrisAdler