Answer:
see picture
Step-by-step explanation:
I'm not exactly sure if you're supposed to write a trace snapshot at the beginning or at the end of a loop iteration. I did it at the end.
3.4m questions
4.4m answers