Put a printf statement in the loop that outputs the values of n and i. Then you can see what those values are and how they change each iteration of the loop. That should help you understand what is...