
James G. answered 06/10/20
Skilled at programming and problem solving
Look like you would get an infinite loop.
Even though the program is reducing i by n each time through the loop n is switching from positive to negative and back each time. The result is that i goes back and forth between two values (95, and 100) never getting close to the value that would stop the loop. The loop would alternately print 90 and 105.
One way to follow what is going on in a program like this is to create a table where each column represents some value that your are following and each row represents a point in time. After doing this a few times you should be able to picture this without the paper.
You would easily see in this case that the values repeat and the program is not going to make any progress.