[...] number of observations, but almost always get fewer observations than is requested. The program builds up the array dynamically in a loop, which is very …