I'm not sure why you need an array of 50 integers, but here's the drill:

Create an array of 50 ints. Suppose the name of the array is iArray.

Then the loop is executed for i = 0, 1, ..., 49,...