Need help getting a program to loop

Post code in line with code tags (and properly indented). Don't attach. We can't read it here