Trace through loops step by step — how many iterations? What is the final value?
After answering, a step-by-step trace shows exactly what happened