How can the loop be stopped after one cycle?

wvmarl When I run the programme I get a message "expected initializer before numeric constant" on the first line. Did I do something wrong Colin