You are viewing a single comment's thread. Return to all comments →
jump is declared outside of the loop, but is incremented in the loop itself.
for(int i=0; i<n-1; i++; jumps++)
Seems like cookies are disabled on this browser, please enable them to open this website
Jumping on the Clouds
You are viewing a single comment's thread. Return to all comments →
jump is declared outside of the loop, but is incremented in the loop itself.
for(int i=0; i<n-1; i++; jumps++)