Procedural/imperative programming - Algorithm -
Please help me understand that if
y
Each looping step multiplied by 2, so you have 2 values Yes, 4,8,16 ... (or usually 2 ^ N).
r is initially 1, and if you add z, you get 3,7, 15, 31 (usually 2 ^ (n 1) - 1)
The loop will be left for X = 0, hence R1 remains
The loop will be for X = 1 ... Yuh ... loop one time, you get 3 etc.
Comments
Post a Comment