First of all, make sure that the code after your for declaration is enclosed in brackets (otherwise only the first line of code after the for declaration will be executed every time the for loop...