The location of the assignment statement should not make any difference. If you know how to write a statement to assign a value to an element of an array, you can code that statement in the loop or...