Hi Marrion, I will write this is MATLAB code format but you should be able to translate it to any language.
The key is a WHILE loop. You can also use a FOR loop but you would need to know how many iterations you want to run the loop for => 1000/10 = 100 iterations
a = 0;
b = 1000;
disp(a)
while a ~= 1000
a = a +10;
disp(a);
end
%%%%%%%%%%
% alternative code FOR loop
a = 0;
disp(a)
for i = 1:100
disp(a)
for i = 1:100
a = a +10;
disp(a);
end
end