Create and initialize an array.
The number of items in the array.
A function which will take the (zero based) array index as an input and will return the value to put into the array at that index.
An array containing all of the results.
Create and initialize an array.