Hi Jan, > steps[1] = 10; > steps[2] = 50; > When I run this code, the number of iterations are 21. I would expect them > to be 10*50 = 500, but the second steps entry seems to have no effect. C++ arrays index from zero, so this should be: steps[0] = 10; steps[1] = 50; HTH, Matt