Having trouble with a FOR loop.

Thank you for the prompt reply. I am not sure what you mean, are you referring to the for loop or my problem where to put the blanked part of my code. If you could explain in more detail it would help me.